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"