Created
July 18, 2016 02:38
-
-
Save privateip/a83443dfe301255fa4648933e8ab7f61 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: configure vty settings | |
hosts: ios | |
connection: local | |
gather_facts: no | |
tasks: | |
- name: set vty settings | |
ios_config: | |
lines: | |
- exec-timeout 720 0 | |
- password cisco | |
- login local | |
- transport input telnet ssh | |
parents: line vty 0 4 | |
host: "{{ inventory_hostname }}" | |
username: cisco | |
password: cisco |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment