Added gocryptfs password to a temporary file for use in later task
This commit is contained in:
@@ -15,6 +15,11 @@
|
|||||||
prefix: gcfs_passfile
|
prefix: gcfs_passfile
|
||||||
state: file
|
state: file
|
||||||
register: tempfile_created
|
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
|
- name: Create directory for storing gocryptfs decryption configuration files
|
||||||
file:
|
file:
|
||||||
path: "{{ homedir }}/.fskeys/ciphers"
|
path: "{{ homedir }}/.fskeys/ciphers"
|
||||||
|
Reference in New Issue
Block a user