public-health-ch/ansible/roles/web/tasks/release.yaml

17 lines
395 B
YAML
Raw Normal View History

2017-04-26 13:37:15 +00:00
---
- name: Checkout code branch from git
git:
repo: 'https://github.com/datalets/public-health-ch'
dest: "{{ release_dir }}"
force: yes
- name: Copy Docker site configuration
template:
src: docker-compose.j2
dest: "{{ release_dir }}/docker-compose.yml"
- name: Update Docker site
debug:
msg: "Please run 'make' in {{ release_dir }} to finish updating the site"