ansible/roles/docker/tasks/services/passit.yml

20 lines
468 B
YAML

# vim: ft=yaml.ansible
---
- name: Create directory for Passit data
file:
name: "{{ services.passit.volume_folder }}/data"
owner: '70'
group: root
state: directory
- name: Upload Compose file for Passit
template:
src: compose-files/passit.yml.j2
dest: "{{ services.passit.volume_folder }}/docker-compose.yml"
- name: Deploy Passit
docker_compose:
project_src: "{{ services.passit.volume_folder }}"
pull: true
state: present