Ansible and Terraform are market-leading automation tools. These tools are not competing with each other. But great things can be achieved when you combine them together. Terraform is the best multi-cloud provisioning tool for building, changing, and versioning infrastructure efficiently. Ansible on another hand where plays a significant role in configuration management. If the organization […]
AWX
Ansible – Validate Multiple conditions for a task
How to add multiple conditions for an ansible task? Here are some of the examples which will help you to pick the right one according to your need. Ansible is an open-source market-leading configuration management tool. It’s a complete automation tool that can be used from On-premise to cloud platforms. In some cases, ansible is […]
Backup/Restore – Ansible AWX – tower-cli
How to Backup Ansible AWX? Ansible Tower comes along with “setup.sh“ to backup the database. If you are using the AWX (Ansible Tower’s upstream project), you could leverage tower-cli to take the object backups in the JSON format. You could also try this for Ansible Tower if the number of hosts are less than 100. […]
Ansible Tower / AWX – Installing & Configuring Tower-cli
Tower-CLI (tower-cli) is a command line tool for managing Ansible Tower/AWX. It allows Tower commands to be easily run from the Unix/Linux command line. This command line tool sends commands to the Tower RESTful API. It is capable of retrieving, creating, modifying, and deleting most resources within the Tower. It also used for creating objects […]
Ansible Tower / AWX – Trigger Ansible Job using REST API
Ansible AWX / Ansible Tower supports RESTfull API calls. It provides greater flexibility that you no need to be in Ansible Tower/AWX console to start the template or read the ansible job results. You could post the API from anywhere. It could be a web portal or from your laptop using POSTMAN/SoapUI. This article will […]
Ansible Tower / AWX – Passing Variables using SURVEY (extra-vars)
Ansible Tower’s Survey one of the cool feature which can be used to populate the variables every time the Template is executed. Ansible playbook might contain one more user variable depends on the use cases. If you want to attach such playbook in AWX / Ansible Tower template, you need to pass the variables in […]
Ansible Tower / AWX – Creating SCM Git Project in Ansible
Ansible playbooks and roles must be kept in the Git repositories. Git provides a great mechanism to track the changes in the source code (i.e Playbooks). It also allows playbook developers to create a new branch and work on the codes without impacting the production. Ansible offers an option to pull the new codes on […]
Ansible Tower / AWX – Creating Workflow Template
Ansible workflow combines one or more resources links together in a sequence of disparate resources with conditional job results. This allows us to create a template for each task and combine in one workflow based on the results. The following resource could co-exist in workflows. inventory source syncs job templates project syncs workflow templates This […]
Ansible Tower / AWX – Configuring Role Based Access (RBAC)
Ansible Tower/ AWX offers role-based access control for templates and workflows. It provides an option to define what kind of access needs to be given to a specific team or specific member within the organization. To automate each task, you need to create a template in Ansible Tower/ AWX. In some cases, we might create […]
Ansible Tower / AWX – Creating New Job Template
Ansible Job template is used to incorporate the playbook in the web interface. Before start creating the template, you must create the playbook and keep it ready in the project path. We also need to create other objects like inventory, projects, and credentials to create a new job template. In this article, we will walk you […]









