Initialisation du script de déploiement d'une app.
This commit is contained in:
commit
21d65be798
21
README.md
Normal file
21
README.md
Normal 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
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user