2017-03-02 16:10:14 +00:00
|
|
|
# You have to paste this dummy information in /etc/ansible/hosts
|
|
|
|
# Notes:
|
|
|
|
# - Comments begin with the '#' character
|
|
|
|
# - Blank lines are ignored
|
|
|
|
# - Groups of hosts are delimited by [header] elements
|
|
|
|
# - You can enter hostnames or ip addresses
|
|
|
|
# - A hostname/ip can be a member of multiple groups
|
|
|
|
#
|
|
|
|
# In the /etc/ansible/hosts file u have to enter [cnos_backup_sample] tag
|
2017-06-12 06:55:19 +00:00
|
|
|
# Following you should specify IP Addresses details
|
2017-03-02 16:10:14 +00:00
|
|
|
# Please change <username> and <password> with appropriate value for your switch.
|
|
|
|
|
|
|
|
[cnos_backup_sample]
|
|
|
|
10.241.107.39 username=<username> password=<password> deviceType=g8272_cnos rcpath=/root/cnos_config/G8272-running-config.txt
|
|
|
|
|
|
|
|
#Use this in case its TFTP as tftpboot folder is the starting point for tftp
|
|
|
|
#10.241.107.39 username=<username> password=<password> deviceType=g8272_cnos rcpath=/anil/G8272-running-config.txt
|
|
|
|
|