Q4
Lab
Simulation
Create a playbook called web.yml as follows:
* The playbook runs on managed nodes in the "dev" host group
* Create the directory /webdev with the following requirements:
--> membership in the apache group
--> regular permissions: owner=r+w+execute, group=r+w+execute, other=r+execute s.p=set group-id
* Symbolically link /var/www/html/webdev to /webdev
* Create the file /webdev/index.html with a single line of text that reads: "Development"
--> it should be available on http://servera.lab.example.com/webdev/index.html
A. Answer: See the Explanation for complete Solution below.
Not auto-scored - compare your configuration against the model answer.