2022-12-29 21:13:31 +00:00
|
|
|
# vim: ft=yaml.ansible
|
2019-01-26 16:54:45 +00:00
|
|
|
---
|
2023-01-22 01:00:53 +00:00
|
|
|
- name: Create directory for Passit data
|
|
|
|
file:
|
|
|
|
name: "{{ services.passit.volume_folder }}/data"
|
|
|
|
owner: '70'
|
|
|
|
group: root
|
|
|
|
state: directory
|
|
|
|
|
2023-09-30 14:25:06 +00:00
|
|
|
- name: Upload Compose file for Passit
|
|
|
|
template:
|
|
|
|
src: compose-files/passit.yml.j2
|
|
|
|
dest: "{{ services.passit.volume_folder }}/docker-compose.yml"
|
2019-01-26 16:54:45 +00:00
|
|
|
|
2023-09-30 14:25:06 +00:00
|
|
|
- name: Deploy Passit
|
|
|
|
docker_compose:
|
|
|
|
project_src: "{{ services.passit.volume_folder }}"
|
|
|
|
pull: true
|
|
|
|
state: present
|