Initialisation du script de déploiement d'une app.

This commit is contained in:
William 2022-07-01 15:13:06 +02:00
commit 21d65be798

21
README.md Normal file
View File

@ -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
```