Ansible Variable Lab & Excercise – Part 2

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now 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 and setup a webserver(httpd) and use httpd as a variable declared using prompt. Assigment 3 – Create a playbook and setup a webserver(httpd) and find a list

Read more

Ansible Playbook Lab & Excercise – Part 3

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now Create a playbook where you should install a webserver into 2 OS type(Ubuntu and RHEL) with fact conditioning. and list out a directory which in “/etc” and display such as “This is a directory /file in /etc:-XXXx”To be used Conditiong, looping, regiter and fact variable. There are 2 environment DEV and QA. Both has

Read more

Ansible Playbook Exercises

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now https://www.devopsschool.com/blog/ansible-playbook-lab-excercise-part-2/ To run the playbook: Playbook Variables Precedence of Variables Command Line variable takes precedence over all other. Variables using task include takes precedence over all, except command line variable. External variables take precedence over variable prompt. Variable using prompt takes precedence over embedded variables.

Read more

Ansible Adhoc Commands Lab and Excercise – Part 1

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now Write a Ansible Adhoc Commands to create a group called “deploy Write a Ansible Adhoc Commands to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell.  Write a Ansible Adhoc commands install package named “httpd” in RHEL/centos. Write a Ansible Adhoc commands to start and enable the

Read more

What is Ansible and How it works?

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now What is Ansible? Ansible is a cross-platform Configuration Management Tool for Server(s), which is primarily written using python. Benefits of Ansible The benefits are as follows: It is easy to learn, understand and use which makes it the choice for server config management It is Idempotent, that is, there are no additional effect if

Read more