Free EX294 Exam Braindumps (page: 1)

Page 1 of 6

Create a file called requirements.yml /home/sandy/ansible/roles in a file called role.yml in /home/sandy/ansible/. The haproxy-role should be used on the proxy host. And when you curl http://node3.example.com it should display "Welcome tonode4.example.com" and when you curl again "Welcome tonode5.example.com"The php-role should be used on the prod host.

  1. See the Explanation for complete Solution below.

Answer(s): A

Explanation:

Solution as:



Check the proxy host by curlhttp://node3.example.com



Create a playbook called regulartasks.yml which has the system that append the date to /root/datefile every day at noon. Name is job 'datejob'

  1. See the Explanation for complete Solution below.

Answer(s): A

Explanation:

Solution as:




Create a playbook called webdev.yml 'home/sandy/ansible in . The playbook will create a directory Avcbdev on dev host. The permission of the directory are 2755 and owner is webdev. Create a symbolic link from /Webdev to /var/www/html/webdev. Serve a file from Avebdev7index.html which displays the text "Development" Curl http://nod e1.example.com/webdev/index.htmlto test

  1. See the Explanation for complete Solution below.

Answer(s): A

Explanation:

Solution as:




Create a jinja template in /home/sandy/ansible/ and name it hosts.j2. Edit this file so it looks like the one below. The order of the nodes doesn't matter. Then create a playbook in /home/sandy/ansible called hosts.yml and install the template on dev node at/root/myhosts

  1. See the Explanation for complete Solution below.

Answer(s): A

Explanation:

Solution as:



Page 1 of 6



Post your Comments and Discuss RedHat EX294 exam with other Community members:

jnr Ndlezane commented on October 08, 2024
elite stuff
Anonymous
upvote