public-health-ch/ansible/site.yaml

13 lines
327 B
YAML
Raw Normal View History

2017-04-24 12:22:51 +00:00
- hosts: webservers
2017-04-24 16:09:26 +00:00
become: false
2017-04-24 12:22:51 +00:00
gather_facts: True
vars:
release_dir: /opt/publichealth
django_log_dir: /var/log/publichealth
ipv4_addresses: "{{ ansible_all_ipv4_addresses }}"
environment:
2017-04-24 12:56:57 +00:00
COMPOSE_FILE: "{{ release_dir }}/docker-compose.yml"
2017-04-24 12:22:51 +00:00
COMPOSE_PROJECT_NAME: publichealth
roles:
- web