On 24. mai 2017 10:40, Adrian Tolley wrote:
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?

Have you checked the documentation?
https://docs.ansible.com/ansible/ios_command_module.html#options

--
Kai Stian Olstad

--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/db077469-652f-7573-12cd-35d5ccd591fb%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to