Which line instructs ansible to install httpd?
A. yum: name=httpd state=installedSIMULATION
Using the Simulation Program, perform the following tasks:
Ad-Hoc Ansible Commands (Number Two) Task:
1.
Use the ad-hoc command to make sure php is installed.
2.
Use the ad-hoc command to make sure that php is installed and is the latest version.
3.
Use the ad-hoc command to make sure that httpd is installed.
4.
Use the ad-hoc command to remove httpd from the servers.
Where does ansible-galaxy install place roles by default?
A. $PWD/rolesWhere can you find a list of all modules in the Ansible online documentation?
A. Master Module ListWhat is a typical use case for an Ansible Template?
A. Managing remote system configuration filesWhere can you find documentation on Ansible modules? (Choose all that apply.)
A. The Ansible-Module man page.Install and configure ansible
User sandy has been created on your control node with the appropriate permissions already, do not change or modify ssh keys. Install the necessary packages to run ansible on the control node. Configure ansible.cfg to be in folder /home/ sandy/ansible/ansible.cfg and configure to access remote machines via the sandy user. All roles should be in the path /home/sandy/ansible/roles. The inventory path should be in /home/sandy/ansible/invenlory.
You will have access to 5 nodes.
1.
node1.example.com
2.
node2.example.com
3.
node3.example.com
4.
node4.example.com
5.
node5.example.com
Configure these nodes to be in an inventory file where node I is a member of group dev. nodc2 is a member of group test, node3 is a member of group proxy, nodc4 and node 5 are members of group prod. Also, prod is a member of group webservers.
Correct Answer. Check the answer in explanation In/home/sandy/ansible/ansible.cfg [defaults]Create the users in the file usersjist.yml file provided. Do this in a playbook called users.yml located at /home/sandy/ansible. The passwords for these users should be set using the lock.yml file from TASK7. When running the playbook, the lock.yml file should be unlocked with secret.txt file from TASK 7.
All users with the job of 'developer' should be created on the dev hosts, add them to the group devops, their password should be set using the pw_dev variable. Likewise create users with the job of 'manager' on the proxy host and add the users to the group 'managers', their password should be set using the pw_mgr variable.
users_list.yml

How is information on a given module displayed using the command ansible-doc andlt;moduleandgt;?
A. The information is simply printed to STDOUT.Which of the following are Ansible modules? (Choose all that apply.)
A. get_dnshostnameNowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Red Hat exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your EX407 exam preparations and Red Hat certification application, do not hesitate to visit our Vcedump.com to find your solutions here.