datacoop.ansible/roles/docker/tasks/services/rallly.yml

23 lines
568 B
YAML
Raw Normal View History

# vim: ft=yaml.ansible
---
- name: Create Rallly volume folders
2022-11-07 17:38:08 +00:00
file:
name: "{{ services.rallly.volume_folder }}/postgres"
2022-11-07 17:38:08 +00:00
state: directory
2022-11-07 18:05:49 +00:00
- name: Copy Rallly environment file
template:
2023-08-05 17:35:55 +00:00
src: rallly/env.j2
dest: "{{ services.rallly.volume_folder }}/rallly.env"
2022-11-07 18:05:49 +00:00
- name: Upload Compose file for Rallly
template:
src: compose-files/rallly.yml.j2
dest: "{{ services.rallly.volume_folder }}/docker-compose.yml"
2022-11-07 17:38:08 +00:00
- name: Deploy Rallly
docker_compose:
project_src: "{{ services.rallly.volume_folder }}"
pull: true
state: present