Example project demonstrating git-deploy configuration
Install git-deploy
$ pip install git+https://github.com/NUKnightLab/git-deploy.git@1.0.6
See the ansible docs for details. The section labels in your hosts file should match the deployment environments you intend to use with git-deploy (e.g., we use stg and prd to indicate staging and production deployment environments respectively)
Copy roles from the git-deploy repo into /etc/ansible/roles
$ git clone https://github.com/NUKnightLab/git-deploy-example
Set the missing variables in the config: deploy/config.common.yml
$ git deploy stg main