Advertisement
Guest User

Untitled

a guest
Jul 17th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. ---
  2. - name: configure vty settings
  3. hosts: ios
  4. connection: local
  5. gather_facts: no
  6.  
  7. tasks:
  8. - name: set vty settings
  9. ios_config:
  10. lines:
  11. - exec-timeout 720 0
  12. - password cisco
  13. - login local
  14. - transport input telnet ssh
  15. parents: line vty 0 4
  16. host: "{{ inventory_hostname }}"
  17. username: cisco
  18. password: cisco
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement