From ed301fb05e0f3a4507f9c8024af5fd271c39807f Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 29 May 2023 20:28:36 +0200 Subject: [PATCH] Do not create the label when the volume is remote. --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index ff87f4a..149eb49 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -7,6 +7,7 @@ labels: epas_client: 'timbrature' labels_state: 'merge' + when: not epas_client_timbrature_data_remote_volume - name: Create the directory where the compose file will be placed file: dest={{ epas_client_timbrature_compose_dir }} state=directory owner=root group=root mode=0750