Actually my question is from my last try for RHCE 294 Exam, and i was not able to solve it, anyway thanks for all of you
On Saturday, June 18, 2022 at 8:01:01 PM UTC+4 Abhijeet Kasurde wrote: > I found this > https://galaxy.ansible.com/dipuyadav/configure_httpd_with_haproxy_role, I > never tried it myself, but you can take a look. > > On Sat, Jun 18, 2022 at 9:09 PM Paul Manno <[email protected]> wrote: > >> Are you trying to write an ansible playbook that runs as a service to >> load balance backends? That's not how ansible works. Sounds like you need a >> load balancer like nginx or haproxy. >> >> Sent from my T-Mobile 5G Device >> Get Outlook for Android <https://aka.ms/AAb9ysg> >> ------------------------------ >> *From:* [email protected] <[email protected]> on >> behalf of Abhijeet Kasurde <[email protected]> >> *Sent:* Saturday, June 18, 2022 9:04:17 AM >> *To:* [email protected] <[email protected]> >> *Subject:* Re: [ansible-project] Ansible galaxy Role >> >> What is the question? >> >> On Sat, Jun 18, 2022 at 5:34 PM Mahdi Idriss <[email protected]> >> wrote: >> >> Hello Mates, i have a question regarding ansible galaxy roles: i want to >> create a playbook that runs on hosts using balancer role, and this role >> create service to load balance web server requests between hosts in the >> webservers hosts, and if i browse the host (http://ansible1.example.com) >> it must produce (hello ansible user to ansible1.example.com on >> 192.168.137.200) and if i reload it the output should be (hello ansible >> user to ansible2.example.com on 192.168.137.201) >> >> -- >> 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/2fc725b1-bbdb-4829-adc0-bd5c5b6938a9n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/2fc725b1-bbdb-4829-adc0-bd5c5b6938a9n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> >> >> -- >> Thanks, >> Abhijeet Kasurde >> >> -- >> 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/CAFwWkHqUnevzYFw7zsqOe4gyXQB9DL_ukqB4uZ3krPsq1UQGAQ%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/ansible-project/CAFwWkHqUnevzYFw7zsqOe4gyXQB9DL_ukqB4uZ3krPsq1UQGAQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> -- >> 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/MN2PR03MB4703206D834D27CA414CDA3EFDAE9%40MN2PR03MB4703.namprd03.prod.outlook.com >> >> <https://groups.google.com/d/msgid/ansible-project/MN2PR03MB4703206D834D27CA414CDA3EFDAE9%40MN2PR03MB4703.namprd03.prod.outlook.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Thanks, > Abhijeet Kasurde > -- 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/8378a899-e808-4451-a4c1-542b9808ea04n%40googlegroups.com.
