# asa\_config issue

**URL:** <https://forum.ansible.com/t/asa-config-issue/24640>\
**Category:** Ansible Project\
**Created:** [June 2, 2017, 8:41pm UTC](https://forum.ansible.com/t/asa-config-issue/24640 "2017-06-02T20:41:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Lee](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Michael\_Lee](https://forum.ansible.com/u/Michael_Lee)\
**Post date:** [June 2, 2017, 8:41pm UTC](https://forum.ansible.com/t/asa-config-issue/24640/1 "2017-06-02T20:41:30Z")

</div>

Hi, There:

I have problem to run ansible-playbook for Cisco ASA, and I manage sent user directly to enable mode  
by enable following command on ASA.

aaa authorization exec authentication-server auto-enable

The yaml file as following, and show version is working fine.

Appreciate any help.

~Mike

- hosts: testfw  
gather\_facts: no  
connection: local  
vars:  
cli:  
host: “{{ inventory\_hostname }}”  
username: “xxx”  
password: “xxxxxx”  
authorize: no  
tasks:
- name: Retrieve device configuration for ASA  
asa\_command:  
provider: “{{ cli }}”  
commands:
- show version  
timeout: 60

# register: output

# - name:

# debug: var=output

- name: config object  
asa\_config:  
lines:
- network-object host 10.80.30.18
- network-object host 10.80.30.19  
parents: [‘object-group network dummy-server’]  
provider: “{{ cli }}”

Here is the error

---

<div class="post-metadata">

**Author:** ![Bobby\_Roberts](https://avatars.discourse-cdn.com/v4/letter/b/8e8cbc/32.png) [@Bobby\_Roberts](https://forum.ansible.com/u/Bobby_Roberts)\
**Post date:** [June 13, 2017, 12:53pm UTC](https://forum.ansible.com/t/asa-config-issue/24640/2 "2017-06-13T12:53:55Z")

</div>

Were you ever able to get this solved? Having the exact same issue as you.
