Hands-on Activity 4 Ansible Basics
- Github URL: Github Link
Conclusion: In this activity, we have two objectives which is to use commands that make changes to remote machines and use playbook in automating ansible commands. I have been able to attain the first objective by running the elevated ad hoc commands in my Ubuntu. These are long commands or syntaxes and you must be careful in typing these commands because it can lead to error or failure. By following the syntax given, I have been able to finish this activity. The second objective is to use playbook in automating ansible commands. I have been able to finish this objective by creating an Ansible playbook. This ansible playbook is written in YAML which is a human-readable format. It contains three tasks which are: updating the repository index, installing apache2 package, and adding PHP support for apache.