Re: [ansible-project] RHCE exam question

312 views
Skip to first unread message
Message has been deleted

Antony Stone

unread,
Jul 11, 2022, 5:06:09 AM7/11/22
to ansible...@googlegroups.com
On Monday 11 July 2022 at 10:59:09, Mahdi Idriss 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?

How close did you get?

I suggest the best way to get assistance on somethng like this from the
volunteers on this list is to show us the best thing you managed to come up
with on your own, and tell us which part of the requirements you weren't able
to fulfil.

Someone here may then be able to help you with the specific part you had
trouble with.

Asking for someone to come up with an entire solution to what is a pretty
complex question is just not appropriate for this type of support list (in my
opinion).


Antony.

--
I still maintain the point that designing a monolithic kernel in 1991 is a
fundamental error. Be thankful you are not my student. You would not get a
high grade for such a design :-)
- Andrew Tanenbaum to Linus Torvalds

Please reply to the list;
please *don't* CC me.

Rilindo Foster

unread,
Jul 11, 2022, 10:47:48 AM7/11/22
to ansible...@googlegroups.com
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
fos...@nextcapital.com
NextCapital Group, Inc.
104 S. Michigan Avenue, Suite 1400
Chicago, IL  60603-5958

On Jul 11, 2022, at 3:59 AM, Mahdi Idriss <idriss.m...@gmail.com> 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.......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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CADHi4Y8%3DP7BuZLLStqELaac3jn7_Jh%2BZYT68xFEmmjTcwFvZJA%40mail.gmail.com.


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. 
Reply all
Reply to author
Forward
Message has been deleted
0 new messages