Tag Archives: Playbook

How to use template in Ansible?

How to use template in Ansible? ##### Step 1 – Create your inventory file with ##### ##### Step 2 – Create templates directory ##### <strong>##### Step 3 – Create a playbook.yaml#####</strong> ##### Step 4 – Last comamds to execute #####

Ansible Playbook Lab & Excercise – Part 2

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 of group called “group” and with /bin/bash shell. Write a Ansible Playbook to install package named “httpd” in RHEL/centos. Write a Ansible Playbook to start and enable the… Read More »