932
edits
Changes
m
→Investigation 2: Creating an Ansible Playbook
==Investigation 2: Creating an Ansible Playbook==
*Convert Create an ansible playbook to make your client machine meet the installation script/puppet manifest from following conditions:**The httpd package must be installed**The httpd service must be enabled and running**A simple webpage of your creation must be the previous labs into an Ansible playbook that will configure DocumentRoot.**Provide a CentOS VM copy of the configuration file with some minor changes (e.g. ServerAdmin)**The firewall must be allowing traffic to your webservers.*Run your play and another nonensure it makes the required changes.*Break your machine (e.g. modify the configuration file), then re-CentOS VM as Nagios servers performing the same checks as in lab 1run your play and ensure it fixes your machine.
==Investigation 3: Applying a Playbook==
*Use the ansible-playbook command to execute your play on both VMs in the same play. If anything goes wrong, fix it and re-run the play. Continue doing so until the play runs successfully.