Ansible on Docker

I prefer running Codes on a container than a virtual machine and I use docker container to run the ansible playbooks. Today’s blog is about setting up a docker container environment for ansible. Pull Image:- I use python image to setup the Ansible container. Create Docker Container :- Verify the Running Docker:- Use VSCode to…

Backup and Tech support using Ansible

Making use of Ansible to collect backup files ,show tech and see the versions of Cisco switches. I use docker container to run the ansible playbooks. Inventory file:- Create an inventory file Yaml File:- Create a yaml file. The below code will save the Backup and show tech file on the root folder with the…