2018-08-31 16:34:57 +02: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
|
2019-02-13 09:27:13 +01:00
|
|
|
# - You can enter hostnames or ip Addresses
|
2018-08-31 16:34:57 +02:00
|
|
|
# - A hostname/ip can be a member of multiple groups
|
|
|
|
#
|
|
|
|
# In the /etc/ansible/hosts file u have to enter [cnos_image_sample] tag
|
2019-02-13 09:27:13 +01:00
|
|
|
# Following you should specify IP Addresses details
|
2018-08-31 16:34:57 +02:00
|
|
|
# Please change <username> and <password> with appropriate value for your switch.
|
|
|
|
|
|
|
|
[cnos_image_sample]
|
|
|
|
10.241.107.39 ansible_network_os=cnos ansible_ssh_user=<username> ansible_ssh_pass=<password> deviceType=g8272_cnos imgpath=/root/cnos_images/G8272-10.1.0.112.img
|
|
|
|
|
|
|
|
#Use this in case its TFTP as tftpboot is the starting point for tftp
|
|
|
|
#10.241.107.39 ansible_network_os=cnos ansible_ssh_user=<username> ansible_ssh_pass=<password> deviceType=g8272_cnos imgpath="/anil/G8272-10.2.0.34.img
|