From d77ed508d95a8a18ec2c51479396d142942489a6 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 23 Nov 2021 13:28:41 +0100 Subject: [PATCH] Correction of variable include and point to docker volume. --- semaphore.yaml | 3 ++- vars/semaphore/variable.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/semaphore.yaml b/semaphore.yaml index 5a349dd..a64d0ca 100644 --- a/semaphore.yaml +++ b/semaphore.yaml @@ -5,9 +5,10 @@ gather_facts: true tasks: - - include_vars: vars/odroid/variable.yaml + - include_vars: vars/semaphore/variable.yaml - name: Search for backup directories + become: yes find: paths: "{{ local_backup }}" file_type: directory diff --git a/vars/semaphore/variable.yaml b/vars/semaphore/variable.yaml index cf0022c..43cfcb7 100644 --- a/vars/semaphore/variable.yaml +++ b/vars/semaphore/variable.yaml @@ -1 +1 @@ -local_backup: /home/semaphore/backup +local_backup: /var/lib/docker/volumes/semaphore/_data/backup/