From 1c5560d0350e94a47a29a89830f5d549a47b7529 Mon Sep 17 00:00:00 2001 From: Alex Tavarez Date: Mon, 21 Jul 2025 17:24:16 -0400 Subject: [PATCH] Added gocryptfs password to a temporary file for use in later task --- roles/bootstrap/handlers/gpg.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/bootstrap/handlers/gpg.yml b/roles/bootstrap/handlers/gpg.yml index 580ef41..a7c548e 100644 --- a/roles/bootstrap/handlers/gpg.yml +++ b/roles/bootstrap/handlers/gpg.yml @@ -15,6 +15,11 @@ prefix: gcfs_passfile state: file register: tempfile_created + - name: Put password in temporary file + lineinfile: + path: "{{ tempfile_created.path }}" + line: "{{ gcfs_password }}" + state: present - name: Create directory for storing gocryptfs decryption configuration files file: path: "{{ homedir }}/.fskeys/ciphers"