Login to linux ansible remote server enabled with LDAP using SSH?
Here is the scnario which we tried last week with Pranav Goel in order to login the Ansible remote server which is enlabe with LDAP and become…
Ansible Role Project 1
Step 1 – Create a role which has following specification. Install a webserver httpd # use role/vars/ Add cond…httpd should be done only if RHEL. Copy a…
Ansible Tower Administration Guide
Ansible Tower Support – If you have paid membership, you can contact the support team at https://access.redhat.com How to understand Ansible Tower Subscription Types Self-Support Enterprise: Standard…
Ansible Variable Lab & Excercise – Part 6
Assigment 1 – Create a playbook and setup a webserver(httpd) and use httpd as a variable decalared in role var file Assigment 2 – Create a playbook…
Ansible Variable Lab & Excercise – Part 5
Assigment 1 – Create a playbook and setup a webserver(httpd) and use httpd as a variable decalared in inventory. Assigment 2 – Create a playbook and setup…
How to access Ansible remote machine using SSH user and key?
How to access Ansible remote machine using SSH user and key? There are following ways, you can autheticte linux remote server using Ansible. Method 1 – Password…
Ansible execution connection type
Ansible executes playbooks in the remote server using following connection type. To change the connection type, you need to pass host-specific parameter ansible_connection=<connector>, the connection type can…
Use of runtime variables to save into another variable using register in Ansible
Another major use of variables is running a command and using the result of that command to save the result into a variable – hosts: all…
Ansible Variable: Ansible & Ansible Tower Variable Precedence Hierarchy
Ansible & Ansible Tower Variable Precedence Hierarchy (last listed wins) Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I…
Run Ansible Adhoc commands or playbook in Local mode
If you are trying to run Ansible Adhoc commands or playbook in Local mode, these articles will help you. Ansible can’t run playbooks locally without ssh if…
Ansible Playbook Lab & Excercise – Part 4
Execution Mode – Remote Write a Ansible Playbook to create a group called “deploy” Write a Ansible Playbook to create a user called “deploy-user” which is part…
Ansible Adhoc Commands Lab & Excercise – Part 1
Program 1 – Write a Ansible Adhoc Commands to create a group called “deploy How to verify? $ more /etc/group | grep deploy Program 2 – Write…
Top Interview Questions on Server Configuration Management Tools Chef, Puppet, and Ansible
Source – http://hub.scalr.com/blog/top-questions-on-server-configuration-management-tools-chef-puppet-and-ansible-2 As a quick recap, configuration management tools enable companies to standardize and automate their infrastructure. Through standardization, you can build systems that are platform…
