Example project demonstrating git-deploy configuration
Install git-deploy
$ pip install git+https://github.com/NUKnightLab/[email protected]
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