public-health-ch/ansible/site.yaml

15 lines
393 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
2017-05-10 16:08:35 +00:00
archive_dir: /opt/www-old
2017-04-24 12:22:51 +00:00
django_log_dir: /var/log/publichealth
2018-05-16 13:05:31 +00:00
redis_data_dir: /opt/redis/data
2017-04-24 12:22:51 +00:00
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