Like this video? - Please subscribe to my channel for updates and for more Ansible videos like this one check out all these other Videos I have made! kzbin.info/aero/PLplGU0K93TA6k5L6VX9mYnwgPK5MYe_9c
@yasirnawaz27987 жыл бұрын
I would suggest to use ssh keys instead of plain text password. Mostly Cisco switches do support. Secondly, you can append date and time at the end of backup file by using $(date +%F_%R). e.g filename.$(date +%F_%R)
@TonyPearceau6 жыл бұрын
Thanks Roger, worked first time. Now to investigate pushing the configs into a private git repo after successful backup :)
@RogerPerkin6 жыл бұрын
Great stuff, very timely in that I am creating a lesson on Git today for my Ansible course learn-network-automation.teachable.com/p/ansible-for-network-engineers/
@RashidSiddiqui4 жыл бұрын
Hi Roger, is there a way that the output of the file is pushed back to the github library?
@kevishgurriah77354 жыл бұрын
Any videos for acessing network devices through bastion/jump hosts?
@neeraj795 жыл бұрын
Hi Roger, Wonderful video. How can you deploy firmware patches to Cisco devices using this method ?
@Roy4USA8 жыл бұрын
sudo apt install ansible is how to install ansible on Ubuntu, Linux Mint, ...
@BradShifflett7 жыл бұрын
will you be doing a follow-up on version control? I use Rancid for now, but this seems to be more robust on the things we could do for further automation.
@RogerPerkin7 жыл бұрын
Hi Brad, yes I will be doing a lot more videos and this is the introduction to a course I am writing on Automation for Network Engineers - it will all be here in the next few months. rogerperkin.co.uk/online-training/course/ansible-for-network-automation/ On lesson is version control - using time and date stamps and then also using Git Thanks for the comment
@sliddjur7 жыл бұрын
you should try oxidized (possibly with librenms)
@wecare303333336 жыл бұрын
Hi roger, great video, just want to ask how can I bounce a router to telnet or ssh to another router just like ssh proxy in netmiko ?
@RogerPerkin6 жыл бұрын
Can you re-phrase that question as I am not exactly sure what you are asking?
@wecare303333336 жыл бұрын
Roger Perkin yeah sure, I have infrastructure in my company where I need to require to login to a switch and from there only I can ssh or telnet to my other devices .to achieve that there is a option in netmiko module in python language which is called ssh proxy. So is there any similar feature in ansible.
@edvinaskai58997 жыл бұрын
hello, how to install (add) an ansible playbook to Ansible ? Thanks
@СергейВаренников-ы9о7 жыл бұрын
ERROR! Syntax Error while loading YAML. The error appears to have been in '/etc/ansible/playbook/sw9_backup.yml': line 3, column 1, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - hosts: sw9 gather_facts: true ^ here exception type: exception: while parsing a block collection in "", line 2, column 1 did not find expected '-' indicator in "", line 3, column 1
@sagardezignDOTcom5 жыл бұрын
- host: sw9 gather_facts: true
@fatima-zahrabouhajban23907 жыл бұрын
Is it possible to do the same for Juniper/Alcatel-lucent Routers ?
@RogerPerkin7 жыл бұрын
Yes Ansible will work with Juniper - I will add another video shortly to show that
@fatima-zahrabouhajban23907 жыл бұрын
Thanks for your help :)
@sliddjur7 жыл бұрын
"shortly" ;)
@georgesmith30227 жыл бұрын
Lets say i have 1000 routers and one is unreachable. After ssh timeout will it continue or stop? Also is there any way to run tasks in parallel in order to speed up the process?
@RogerPerkin5 жыл бұрын
hi George, if Ansible cannot connect to one router once it times out it will continue with the playbook run. Ansible by default will connect to 5 routers at a time, this can be increased but is down to performance of your Ansible host.
@ademdarguner2 жыл бұрын
[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details ERROR! We were unable to read either as JSON nor YAML, these are the errors we got from each: JSON: No JSON object could be decoded Syntax Error while loading YAML. did not find expected '-' indicator The error appears to be in '/etc/ansible/playbooks/swconfig.yml': line 8, column 4, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: show run ios_command: ^ here [root@ansible playbooks]# I saw problem this code. What's wrong with my code?
@elanbarirachid65817 жыл бұрын
hello, thanks for this video , I have a question please! Ansible supports servers and juniper routers ? cause I need to know this so bad to implements it as soon as possible and thanks again :)
@RogerPerkin7 жыл бұрын
Yes, Ansible was originally developed for automation on servers, in the last few releases 2.1, 2.2 and now 2.3 it has many more modules for network devices and is rapidly becoming the goto tool for open source network automation.
@elanbarirachid65817 жыл бұрын
thanks Mr Roger! I sent you a message on your fb account, can you please answer me ?
@RogerPerkin7 жыл бұрын
Don't see it - send me a message here - www.rogerperkin.co.uk/contact/
@kevinsequeira61147 жыл бұрын
Roger, I'm an Acquisition Editor with Packt. Would you like to develop a video tutorial on Ansible and Cisco Integration?
@RogerPerkin7 жыл бұрын
Kevin, can you go to my website www.rogerperkin.co.uk/contact/ and send me a message -
@kevinsequeira61147 жыл бұрын
Roger, I have dropped you a message. Looking forward to hearing from you.
@komalthecoolk7 жыл бұрын
Well... did it happen? We would all love a clear detailed training on Ansible + Cisco!
@RogerPerkin7 жыл бұрын
Hi Komalthecoolk, no I did not produce a course for Packt, I am working on one to launch from my own website, www.rogerperkin.co.uk by the end of the month, if you sign up there, you will be notified when it is ready and also get access to the free lessons as they are produced.
@RogerPerkin5 жыл бұрын
There is an updated version of this video here - kzbin.info/www/bejne/rWm2l2aojdOWqZI
@jamesbell28105 жыл бұрын
0:57 AHEM, YAML literally stands for "Yaml Ain't Markup Language".
@RogerPerkin5 жыл бұрын
I have heard that one and I also heard Yet another Markup Language ?
Hi Sir , I would like to contact you on how to install on Ansible and. How to learn. Pl ease help me out as I was passionate to learn Ansible. Any contact details of you
@ijeomaijeoma25995 жыл бұрын
why do you keep smacking your lips??????????????
@neomatrix36126 жыл бұрын
You sound like you're having trouble breathing..
@carreonccnn5 жыл бұрын
LoL
@edgardsoliveira3 жыл бұрын
Hey dude, are you eating something during the video?? tip for the next video: try to keep your lips normal...it sounds terrible for who is watching. By the way, congratulations for the video.
@RogerPerkin3 жыл бұрын
Thanks for the feedback, I need to re-record this video, the audio in my later ones is better!