public-health-ch/ansible/site.yaml
2018-05-16 15:05:31 +02:00

14 lines
393 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
redis_data_dir: /opt/redis/data
ipv4_addresses: "{{ ansible_all_ipv4_addresses }}"
environment:
COMPOSE_FILE: "{{ release_dir }}/docker-compose.yml"
COMPOSE_PROJECT_NAME: publichealth
roles:
- web