Lab 11 - Multitier Architecture

Mandatory

Create a new host group

  • Create a new host group for flask_app in both inventories test and prod
  • Change the test and prod host group to use the new hostgroup flask_app
  • Create the variable flask_app_source only for the flask_app group with the value https://github.com/pstauffer/flask-mysql-app.git

Extend your flask_app role

  • Use the defined flask_app_source variable in your task file for the git checkout
  • Create a dependency on the already created pip role
  • Run the playbook deploy.yml for both inventories test and prod
  • Verify the checkout of the correct version

Commit your changes

  • add all files to your git repo and commit it