# 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 # Following you should specify IP Adresses details # 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