Q1
Lab
Simulation
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.
A. Answer: See the Explanation for complete Solution below.
Not auto-scored - compare your configuration against the model answer.