Cisco asa auth option

15 views
Skip to first unread message

Adrian Tolley

unread,
May 25, 2017, 11:54:49 AM5/25/17
to Ansible Project
Hi, I have the follow basic playbook for a Cisco IOS router, running ansible 2.3

---
- hosts: ios_routers
  connection: local
  
  tasks:
    - name: run show version
      ios_command:
        commands: show version


I run the playbook like this so it prompts me for the password.


$ ansible-playbook demo.yaml -u cisco -k


So how can I do this for a Cisco ASA where the is an additional step where I should put in the enable password?

Thanks!

Kai Stian Olstad

unread,
May 25, 2017, 4:27:48 PM5/25/17
to ansible...@googlegroups.com
Have you checked the documentation?
https://docs.ansible.com/ansible/ios_command_module.html#options

--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages