Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ansible-valut create group_vars/routers
- ansible_ssh_user: admin
- ansible_ssh_pw: admin
- auth_pass: admin
- ---
- - hosts:routers
- gather_facts: true
- connection: local
- tasks:
- - name: show run
- ios_command:
- authorize: yes
- auth_pass: "{{ auth_pass }}"
- commands:
- - show run
- register: config
- ansible-playbook -u admin script.yaml --ask-vault-pass
- Unable to elevate privelage to enable mode, at prompt [None] with error: timeout value 10 seconds reached while trying to send command: enable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement