Hi Mahdi! Red Hat NDA actually prohibits you from discussing specific exam questions and can result in you and other people being banned from future exams as well as revocation of any Red Hat you may have already obtained.
I would recommend not bringing up exam specific questions in the future. — Rilindo Foster - Cloud Reliability Architect [email protected] NextCapital Group, Inc. 104 S. Michigan Avenue, Suite 1400 Chicago, IL 60603-5958 > On Jul 11, 2022, at 3:59 AM, Mahdi Idriss <[email protected]> wrote: > > Hi guys, > > I had this question on my last ex294 ansible exame, so I was not able to > solve it, anyone have the right playbook or can create one? > > Create a playbook called roles. yml with requirements: > · The playbook contains a play that runs on hosts in the balancers > host group and uses the balancer role: > 1. This role configures a service to load balance web server requests > between hosts in the webservers host group > 2. Browsing to hosts in the balancers host group (example: > http://node5. <http://node5./>......com) produces the output: Welcome message > on 192.168.1.10 > 3. Reloading the browser produces output from the alternate web server: > Welcome message on 192.168.1.11 > · > · The playbook contains a play that runs on hosts in the webservers > host group and uses the phpinfo role: > 1. Browsing to hosts in the webservers host group with the URL /hello > .php produces the following output: Hello PHP World from {{ansible_fqdn}} > > 2. For ex: browsing to http://node3....com/hello.php, produces the > following output: Hello PHP World from node3…...com (Note: along with various > details of the PHP configuration including the version of PHP that is > installed) > > > 3. Similarly browsing to http://node4....com/hello.php. produces the > following output: Hello PHP World from node4…...com (Note: along with various > details of the PHP configuration including the version of PHP that is > installed.) > > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CADHi4Y8%3DP7BuZLLStqELaac3jn7_Jh%2BZYT68xFEmmjTcwFvZJA%40mail.gmail.com > > <https://groups.google.com/d/msgid/ansible-project/CADHi4Y8%3DP7BuZLLStqELaac3jn7_Jh%2BZYT68xFEmmjTcwFvZJA%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- This email and its attachments are confidential and may be privileged. Any unauthorized use or disclosure is prohibited. If you receive this email in error, please notify the sender and permanently delete the original without forwarding, making any copies or disclosing its contents. NextCapital is a brand name representing NextCapital Group, Inc. and its subsidiaries, NextCapital Software, Inc. and NextCapital Advisers, Inc. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/F5B75710-B69F-4F17-B598-53D6D2A8DF5C%40nextcapital.com.
