# asa\_config not making changes

**URL:** <https://forum.ansible.com/t/asa-config-not-making-changes/23034>\
**Category:** Ansible Project\
**Created:** [November 15, 2016, 7:15pm UTC](https://forum.ansible.com/t/asa-config-not-making-changes/23034 "2016-11-15T19:15:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![scarter](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@scarter](https://forum.ansible.com/u/scarter)\
**Post date:** [November 15, 2016, 7:15pm UTC](https://forum.ansible.com/t/asa-config-not-making-changes/23034/1 "2016-11-15T19:15:40Z")

</div>

I have the following plays:

- name: Associate VLAN with interface  
asa\_config:  
lines:

- vlan 610  
parents: [‘interface Port-channel1.610’]  
context: system  
provider: “{{ cli }}”

- name: Add Context  
asa\_config:  
lines:

- allocate-interface Port-channel1.102

- allocate-interface Port-channel1.610

- config-url disk0:/rhat.cfg  
parents: [‘context rhat’]  
context: system  
provider: “{{ cli }}”

The play seems to run correctly:

changed: [[csn-sjc18-asa1.ciscolabs.net](http://csn-sjc18-asa1.ciscolabs.net)] =\> {  
“changed”: true,  
“invocation”: {  
“module\_args”: {  
“after”: null,  
“auth\_pass”: null,  
“authorize”: false,  
“backup”: false,  
“before”: null,  
“config”: null,  
“context”: “system”,  
“default”: false,  
“host”: “[csn-sjc18-asa1.ciscolabs.net](http://csn-sjc18-asa1.ciscolabs.net)”,  
“lines”: [  
“vlan 610”  
],  
“match”: “line”,  
“parents”: [  
“interface Port-channel1.610”  
],  
“password”: “VALUE\_SPECIFIED\_IN\_NO\_LOG\_PARAMETER”,  
“port”: null,  
“provider”: {  
“host”: “[csn-sjc18-asa1.ciscolabs.net](http://csn-sjc18-asa1.ciscolabs.net)”,  
“password”: “VALUE\_SPECIFIED\_IN\_NO\_LOG\_PARAMETER”,  
“transport”: “cli”,  
“username”: “admin”  
},  
“replace”: “line”,  
“save”: false,  
“show\_command”: “show running-config”,  
“src”: null,  
“ssh\_keyfile”: null,  
“timeout”: 10,  
“transport”: “cli”,  
“username”: “admin”  
}  
},  
“updates”: [  
“interface Port-channel1.610”,  
“vlan 610”  
]  
}

But the changes never show up in the config… not sure why. This is an ASA 5585-40 running Version 9.4(3)11. Anyone have any pointers how I can debug this?

Thanks,

Steven.
