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

18 lines
435 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
2017-05-05 14:31:25 +00:00
version: "{{ gitversion }}"
2017-04-26 13:37:15 +00:00
- name: Copy Docker site configuration
template:
src: docker-compose.j2
dest: "{{ release_dir }}/docker-compose.yml"
- name: Update Docker site
debug:
2017-04-26 13:57:01 +00:00
msg: "Please run 'make release' in {{ release_dir }} to finish updating the site"