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

لینک دانلود

21 پاسخ به “Ansible Network Automation Example | Backup Cisco Router Playbook”

  1. Hi Roger, Wonderful video. How can you deploy firmware patches to Cisco devices using this method ?

  2. 0:57
    AHEM, YAML literally stands for "Yaml Ain't Markup Language".

  3. why do you keep smacking your lips??????????????

  4. You sound like you're having trouble breathing..

  5. 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

  6. 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 ?

  7. Thanks Roger, worked first time. Now to investigate pushing the configs into a private git repo after successful backup 🙂

  8. 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?

  9. 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

  10. hello, how to install (add) an ansible playbook to Ansible ? Thanks

  11. 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)

  12. Roger, I'm an Acquisition Editor with Packt. Would you like to develop a video tutorial on Ansible and Cisco Integration?

  13. 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 🙂

  14. 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.

  15. sudo apt install ansible
    is how to install ansible on Ubuntu, Linux Mint, …

نظرات بسته شده اند.