From c9aa74b1e1fd0cf482ec9dd74729c6dd06046017 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Sun, 22 Oct 2023 17:52:59 +0200 Subject: [PATCH] Fix secrets file path. --- bootstrap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.yml b/bootstrap.yml index 8037309..9608c71 100755 --- a/bootstrap.yml +++ b/bootstrap.yml @@ -25,7 +25,7 @@ mode: '0700' - name: Extract required secrets from secrets.tar.gz.enc - shell: "openssl enc -aes-256-cbc -md md5 -pass env:SECRETS_ARCHIVE_PASSPHRASE -d -in /root/secrets.tar.gz.enc | tar -zxv -C {{ item.dir }} --strip 2 {{ item.name }}" + shell: "openssl enc -aes-256-cbc -md md5 -pass env:SECRETS_ARCHIVE_PASSPHRASE -d -in {{ WORKDIR }}/secrets.tar.gz.enc | tar -zxv -C {{ item.dir }} --strip 2 {{ item.name }}" with_items: - name: secrets/docker-duplicity-stack/mail_credentials.json dir: /root/