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
http://node5.example.com) should produce the following output:
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,
browsing to http://node3.example.com/hello.php, should produce the following output:
Hello PHP World from node3.example.com
* Similarly, browsing to http://node4.example.com/hello.php, should produce the
following output:
Hello PHP World from node4.example.com
Iluminada
9 months agoMargart
10 months agoMable
10 months agoTrina
10 months agoElbert
10 months agoLavonda
11 months agoLai
11 months agoJamika
11 months agoAlisha
11 months agoCarma
11 months agoScarlet
11 months agoFelix
11 months agoAudry
11 months agoSherill
11 months agoRaylene
1 year agoFlo
1 year agoTanesha
1 year agoRaylene
1 year agoSvetlana
1 year agoRebbecca
1 year agoMajor
1 year agoAlishia
1 year agoMinna
1 year agoYuki
1 year agoWei
1 year agoYuki
1 year ago