Added gocryptfs password to a temporary file for use in later task
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user