Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat Exam EX294 Topic 3 Question 57 Discussion

Actual exam question for RedHat's EX294 exam
Question #: 57
Topic #: 3
[All EX294 Questions]

Create a file called requirements.yml in /home/sandy/ansible/roles 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 to node4.example.com" and when you curl again "Welcome to node5.example.com" The php-role should be used on the prod host.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Huey
3 days ago
Okay, let's break this down. We need to create a file called 'requirements.yml' in '/home/sandy/ansible/roles' and a file called 'role.yml' in '/home/sandy/ansible/'. The 'haproxy-role' should be used on the 'proxy' host, and when we curl 'http://node3.example.com', it should display 'Welcome to node4.example.com', and then 'Welcome to node5.example.com'. The 'php-role' should be used on the 'prod' host. Simple enough, I think.
upvoted 0 times
...
Georgiana
9 days ago
And we also need to make sure that curling http://node3.example.com displays the correct messages. It seems like a detailed task.
upvoted 0 times
...
Janna
10 days ago
Yes, we need to create requirements.yml and role.yml files in specific directories and use haproxy-role on the proxy host.
upvoted 0 times
...
Georgiana
11 days ago
I think the question is asking us to create specific files and use certain roles in Ansible.
upvoted 0 times
...

Save Cancel