How to increase the ansible playbook execution speed? One who is running the playbook against more than 100 hosts could witness the slowness if it’s not fine-tuned. Ansible has few configurable parameters which can reduce the playbook execution time significantly. As a result of the fine-tuning ansible, playbook execution time has been reduced from 4hours […]
DevOps
Using Date and Timestamp Variable in Ansible Playbook
Timestamp plays a crucial role while automating any job. Timestamp variable would be helpful to capture the current date and time (While gathering facts). In Ansible, we might need to create a file or directory based on the timestamp to make it unique. By default, the ansible engine collects timestamp of the remote systems in […]
Ansible – Reboot Server Using Playbook and Wait for come back
Ansible is a simple configuration management tool. Open source community keeps trying to make the code much simpler on the newer version. Prior to Ansible engine 2.7, To reboot the target hosts, we need to define a block of code to reboot the server and wait until the hosts to come back. Most of the time. making the configuration changes or installing […]
How to pass variable from one playbook to another playbook ? Ansible
In Ansible, passing a variable from one playbook to another playbook is not a straight forward. (If the target hosts are different). We might need to get the variable value from one host and use that value against another host in some cases. This article will provide a solution to overcome this kind of tricky situation in Ansible. Here are the scenarios […]
Jenkins – Ansible – Configure Dynamic Inventory
Are you using Jenkins as front-end GUI for Ansible Automation? Have you ever tried the dynamic inventory in Jenkin’s Ansible plugin? Ansible Inventory can be created using the plugin’s dynamic inventory feature. This feature could be very useful when you want to pass hosts as user-defined input and that’s is not part any of the […]
Jenkins – Store Console Output in Linux Filesystem – Artifacts
How to store Jenkins job’s console output in another system? There are much opensource software is available to store the logs and retrieve logs in time. Jfrog is one of the most famous artifact solutions. Here, we will be using native Linux/Unix commands to pull the Jenkins logs and store it in local/NFS filesystem for […]
Jenkins – Rename Build Job Names – Build Name setter
Jenkins job’s build name would be named with the numeric number by default in increment manner. After configuring the Jenkins job, the first build job would be named as “1”, the second job would be named as “2” and so on. Most of the cases, no one prefers to change the default build naming algorithm. […]
Jenkins Console – Xterm Terminal – Colorized Ansible playbook Output
This artcile will walk through the installing and configuring Ansicolor plugin in Jenkins to make colorized output in ansible playbook stdout. Jenkins console is very plain and simple. If you are using Jenkins to run the ansible playbook, you might notice that colorful output might be missing. Ansible Tower/AWX offers the colorful stdout in the […]
Ansible Engine – Run Playbook using Jenkins – GUI
Can’t afford Ansible Tower? Worried about AWX stability (Open Source Ansible Tower’s upstream Project )? Jenkins is more than enough to run the Ansible playbook from GUI. Ansible Tower’s main selling point is RBAC (Role based access control), credentials encryption and REST API. When you use Jenkins, it has plenty of plugins to offer role-based […]
Packer Automation – Build Redhat/CentOS VM on VMware vSphere
In this article, we will be walking through the building of Redhat Enterprise Linux 7/CentOS 7 VM using ISO on VMware vSphere environment. Packer is very useful to build your base images on the cloud and on-premise. Packer is an opensource tool and developed by HashiCorp. HashiCorp owns very famous tools like Vagrant, Consul, and […]









