2017-04-24 12:22:51 +00:00
|
|
|
- hosts: webservers
|
2017-04-24 16:09:26 +00:00
|
|
|
become: false
|
2020-05-15 22:14:14 +00:00
|
|
|
gather_facts: true
|
2017-04-24 12:22:51 +00:00
|
|
|
vars:
|
2020-05-16 13:43:10 +00:00
|
|
|
gitrepo: https://github.com/datalets/public-health-ch
|
|
|
|
gitversion: master
|
2017-04-24 12:22:51 +00:00
|
|
|
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:
|
2020-05-15 22:14:14 +00:00
|
|
|
- wagtail
|