mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fbf55a09cc
* Refactoring code to adhere to persistence connection. * Update cnos_rollback.py * Updating license for the refactored method * Update cnos_rollback.py * Removing the BSD License as suggested by Legal * Adding cnos_image after testing on sftp. Test code is also added * Removing debug comments * adding space
17 lines
933 B
Text
17 lines
933 B
Text
# 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_image_sample] tag
|
|
# Following you should specify IP Adresses details
|
|
# 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
|