Lab 13: Ansible

 

Objective

To get practice writing Ansible playbooks


 

Task

For this lab, you will write an Ansible playbook which does everything needed to install the Wordpress web software. You installed this manually in lab 5, and can use those same instructions to guide you in writing the playbook.

You can look at the following modules which will be helpful:

  1. ansible.builtin.get_url
  2. community.mysql

The script should do everything to install the software on a new Debian 12 virtual machine. You should test it by making a new instance. Lab 1 contains instructions for setting up a new instance.


 

Submitting

Submit the playbook in the assignment in Canvas.