Create a playbook called balance.yml as follows:
* The playbook contains a play that runs on hosts in balancers host group and uses
the balancer role.
--> This role configures a service to loadbalance webserver requests between hosts
in the webservers host group.curl
--> When implemented, browsing to hosts in the balancers host group (for example
Welcome to node3.example.com on 192.168.10.z
--> Reloading the browser should return output from the alternate web server:
Welcome to node4.example.com on 192.168.10.a
* The playbook contains a play that runs on hosts in webservers host group and uses
the phphello role.
--> When implemented, browsing to hosts in the webservers host group with the URL /
hello.php should produce the following output:
Hello PHP World from FQDN
--> where FQDN is the fully qualified domain name of the host. For example,
Hello PHP World from node3.example.com
following output:
Hello PHP World from node4.example.com
Darell
10 months agoCasie
10 months agoBrunilda
11 months agoHortencia
11 months agoMonte
11 months agoChau
11 months agoGracia
11 months agoBette
11 months agoRickie
11 months agoLilli
11 months agoElenora
12 months ago