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 service named “httpd”
-
Write a Ansible Playbook to create a file called “index.html” in /var/www/html with some dummy html contents.
-
Write a Ansible Playbook to reboot a self machine.
-
Write a Ansible Playbook to install a package called “git”, “wget”.
-
Write a Ansible Playbook to clone git repo. thttps://github.com/scmgalaxy/ansible-role-template
-
Now Merge all Top Playbook into one and run and verify