Ansible | Multiple Commands

Updated: Jul 9, 2020

How to backup a router using multiple commands line and stripes lines between commands?

Following below ;)


/etc/ansible/host:


/etc/ansible/scripts/ios-xr_show_inventory.yaml:


Command line:


more /etc/ansible/backups/192.168.100.1_IOSXR_inventory.txt:

Now you can see the stripes lines between commands. I think it's more useful, clear and clean.

86 views0 comments

Recent Posts

See All

Run Python Automation Script to fetch Cisco Routers and Switches details in Bulk. The details includes “hostname, uptime, current version, current image, serial number, device model, device memory” Pr

Here I am going to show you an example how to encrypt PDF to make it password protected using PyPDF2 module in Python programming language. Piece of cake 🍰 This example we are going to read the exist

Most of us have seen the dreaded “No Internet” error message on Google Chrome. You can actually turn this screen into a fun, dino-themed endless runner game and, even better, hack the hidden Easter eg