Execution Mode – Local
-
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 “group” and with /bin/bash shell.
-
Write a Ansble Adhoc commands install package named “httpd” in RHEL/centos.
-
Write a Ansible Adhoc commands to start and enable the service named “httpd”
-
Write a Ansible commands to create a file called “index.html” in /var/www/html with some dummy html contents.
-
Write a Ansible commands to reboot a self machine.
-
Write a Ansible commands to install a package called “git”, “wget”.
-
Write a Ansible Adhoc commands to clone git repo. thttps://github.com/scmgalaxy/ansible-role-template
Latest posts by scmgalaxy K (see all)
- Use of runtime variables to save into another variable using register in Ansible - September 6, 2018
- Ansible & Ansible Tower Variable Precedence Hierarchy - September 6, 2018
- How to use template in Ansible? - September 6, 2018