
This video is taken from my Ansible for Network Engineers Course which you can find more details about here.
Ansible Network Automation is becoming the de facto standard in Network Operations today. In this Ansible Tutorial for Beginners I will show you the basics of Ansible how to run your first playbook and backup the configuration file of a cisco router.
How to Install Ansible on Ubuntu –
Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment and network devices.
Ansible for Network Engineers – previously used for server automation Ansible is now heavily used to perform network automation with cisco and other network vendors.
It uses no agents and no additional custom security infrastructure, so it’s easy to deploy and most importantly it uses a very simple language
YAML, in the form of Ansible Playbooks allow you describe your automation jobs in a way that approaches plain English.
#ansible #automation #ansiblecisco
For more videos and articles on Networking automation check out my website.
Website:
Backup Cisco router blog post
Twitter:
#ansible #networkautomation #cisco
لینک دانلود
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!
https://www.youtube.com/playlist?list=PLplGU0K93TA6k5L6VX9mYnwgPK5MYe_9c
Hi Roger, Wonderful video. How can you deploy firmware patches to Cisco devices using this method ?
0:57
AHEM, YAML literally stands for "Yaml Ain't Markup Language".
i cant…bye
why do you keep smacking your lips??????????????
There is an updated version of this video here – https://www.youtube.com/watch?v=w8Sf3rXncs0
You sound like you're having trouble breathing..
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
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 ?
Thanks Roger, worked first time. Now to investigate pushing the configs into a private git repo after successful backup 🙂
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?
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: <class 'yaml.parser.ParserError'>
exception: while parsing a block collection
in "<unicode string>", line 2, column 1
did not find expected '-' indicator
in "<unicode string>", line 3, column 1
not work:(
Thumbs up
hello, how to install (add) an ansible playbook to Ansible ? Thanks
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)
Roger, I'm an Acquisition Editor with Packt. Would you like to develop a video tutorial on Ansible and Cisco Integration?
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 🙂
Is it possible to do the same for Juniper/Alcatel-lucent Routers ?
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.
sudo apt install ansible
is how to install ansible on Ubuntu, Linux Mint, …