2022-12-29 21:13:31 +00:00
|
|
|
# vim: ft=yaml.ansible
|
|
|
|
---
|
2023-07-09 18:27:32 +00:00
|
|
|
- name: Create Rallly volume folders
|
2022-11-07 17:38:08 +00:00
|
|
|
file:
|
2022-11-26 08:15:18 +00:00
|
|
|
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
|
2023-09-30 14:25:06 +00:00
|
|
|
dest: "{{ services.rallly.volume_folder }}/rallly.env"
|
2022-11-07 18:05:49 +00:00
|
|
|
|
2023-09-30 14:25:06 +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
|
|
|
|
2023-09-30 14:25:06 +00:00
|
|
|
- name: Deploy Rallly
|
|
|
|
docker_compose:
|
|
|
|
project_src: "{{ services.rallly.volume_folder }}"
|
|
|
|
pull: true
|
|
|
|
state: present
|