From 48d1e53c0b3bab8550425f467d72918e25111fb3 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 26 Oct 2020 16:58:38 +0100 Subject: [PATCH] Create the dest directory of the compose file. --- tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index bf70dfe..b29184e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -30,6 +30,9 @@ labels_state: 'merge' 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 template: src=epas-docker-compose.yml.j2 dest={{ epas_compose_dir }}/docker-epas-stack.yml owner=root group=root mode='0400'