Ansible Module Sample Code using Linux Bash script Example 5
Ansible Tutorial | How to write Ansible Playbooks | Ansible Crash Course Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about…
Ansible Variable: How to declare Variables in Ansible Inventory or hosts file?
Example Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have…
How to loop and iteration executations in Ansible Playbook with Example?
Example Playbook Code Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices….
How to set condition module executations in Ansible Playbook with Example?
Example – 1 For CENTOS / RHEL Example – 1 For Ubuntu Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about…
Understanding Ansible playbook using diagram
Example Playbook Code Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices….
Test Your Ansible Knowledge: Ansible Interview Questions and Answer
What is Configuration Management? List a few available configuration management tools. What is Ansible? List some of major advantages of using Ansible. Write down the data flow…
Ansible Tools and Commands
Before going further deep into Ansible, it is time to get familiar with some important Ansible commands: ansible: It is an extra – simple root / framework…
What is ppsh and use of ppsh tool?
ppsh is developed for Pull and Push via SSH PPSH is a Ansible-like Tool and Library written in Go. Ansible is a radically simple IT automation system…
What is ansible pull and how can we use it?
ansible-pull pulls playbooks from a VCS repo(git) and executes them for the local host. The ansible-pull command is a special feature of Ansible that allows you to,…
Configure Ansible for Deployment of Datadog Agent in Multiple Linux Servers
Step 1 – Install Ansible tool in your workstation Step 2 – Write a Ansible playbook Step 3 – Create a Ansible inventory file consist of Multiple…
How to exclude specific host from inventory from a playbook run in Ansible?
Suppose you want to exclude a troublesome host (bad_host) from a particular playbook run. Try using a negated ‘limit’ option: By using –limit argument with ansible-playbook command…
Deep Dive into Lookup Plugins in Ansible with Example
Lets understand about Lookup Plugins Lookup plugins allow Ansible to access data from outside sources. This can include reading the filesystem in addition to contacting external datastores…
Ansible complete list of looping options
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
What is Ansible Plugins and How to Extend Ansible Through Plugins?
What is Ansible Plugins? Did you know a large portion of Ansible’s functionality comes from the Ansible plugin system? These important pieces of code augment Ansible’s core…
Working with Ansible loop and iterators with Example
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
15 Ansible Playbooks Example for Windows Administration
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Ansible Inventory Lab & Excercise – Part 3
Assignment 1 You have been given a RHEL 7.X instance for ARS where access is enabled with ec2-user and key. Password login is disabled. You need to…
Red Hat Ansible learning path
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Ansible Example of Multple Play in One Playbook and Multple Playbook in One Yaml files
Example of Multple Ansible Play in One Playbook Example of Multple Ansible Playbook in One Yaml file Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and…
Ansible Variable: Understanding Ansible Register variable scope and use across playbook and hosts
Registered variables are similar to facts, with a few key differences. Like facts, registered variables are host-level variables. However, registered variables are only stored in memory. Register…
Shell Script to Install Ansible AWX in RHEL 7 and CENTOS 7
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Ansible Module Sample Code to Work for user data – Example 4
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Ansible Module Sample Code to Work using OS commands (curl) – Example 3
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Ansible Module Sample Code to Work using github API – Example 2
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Ansible Module Sample Code to Work with API – Example 1
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Ansible Interview Questions and Answer – Part 12
Which is the right repository definition should be inserted in pom.xml for uploading snapshot artifactory? Which is the right repository definition should be inserted in pom.xml for…
Ansible Interview Questions and Answer – Part 11
What is the best way to allow a Docker client running in a container access to the underlying Docker host? Map the root filesystem to the container….
Ansible Interview Questions and Answer – Part 10
How would you ensure your application is configured correctly for different types of tests? This is not possible. Create multiple configuration files for your application, one per…
Ansible Interview Questions and Answer – Part 9
You can add groups inside of groups when: You add existing group names under a [groupname:children] definition (Ans) You cannot add groups within groups. You add existing…
Ansible Interview Questions and Answer – Part 8
You can merge multiple inventory files to scale out. True False (Ans) A __ module may be pulled from repository at a future time. Bronze Core Deprecated…
