commit 21d65be798311108efc623af23c0ab0f9325940f Author: William Date: Fri Jul 1 15:13:06 2022 +0200 Initialisation du script de déploiement d'une app. diff --git a/README.md b/README.md new file mode 100644 index 0000000..314301b --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# Ansible: Setup App + +This playbook installs app from repository and bind Traefik on defined host. + +## Installing + +Copy then change values of hosts example file: + +```bash +$ cp hosts.example.ini hosts.ini +``` + +Then run the playbook: + +```bash +$ ansible-playbook -i hosts.ini playbook.yml \ + -e name=myapp \ + -e repository=https://git.example.com/vendor/app.git \ + -e version=master \ + -e host=myapp.example.com +```