Merge pull request 'Create the dest directory of the compose file.' (#5) from adellam/ansible-role-epas:master into master

This commit is contained in:
Andrea Dell'Amico 2020-10-26 16:59:05 +01:00
commit 1342326aeb
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,9 @@
labels_state: 'merge' labels_state: 'merge'
when: epas_dockerized_db when: epas_dockerized_db
- name: Create the directory where the compose file will be placed
file: dest={{ epas_compose_dir }} state=directory owner=root group=root mode=0750
- name: Install the docker compose file - name: Install the docker compose file
template: src=epas-docker-compose.yml.j2 dest={{ epas_compose_dir }}/docker-epas-stack.yml owner=root group=root mode='0400' template: src=epas-docker-compose.yml.j2 dest={{ epas_compose_dir }}/docker-epas-stack.yml owner=root group=root mode='0400'