public-health-ch/ansible/site.yaml
2017-05-10 18:08:35 +02:00

13 lines
357 B
YAML

- hosts: webservers
become: false
gather_facts: True
vars:
release_dir: /opt/publichealth
archive_dir: /opt/www-old
django_log_dir: /var/log/publichealth
ipv4_addresses: "{{ ansible_all_ipv4_addresses }}"
environment:
COMPOSE_FILE: "{{ release_dir }}/docker-compose.yml"
COMPOSE_PROJECT_NAME: publichealth
roles:
- web