pilot-playbooks/README.md

22 lines
417 B
Markdown

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