diff --git a/deployer/roles/host/tasks/encrypted_drive.yml b/deployer/roles/host/tasks/encrypted_drive.yml index 1577447..fc94c89 100644 --- a/deployer/roles/host/tasks/encrypted_drive.yml +++ b/deployer/roles/host/tasks/encrypted_drive.yml @@ -1,10 +1,12 @@ +# Untested - not sure `stdin` works to give the password. +# Not sure it's secure. - name: "Open encrypted drive" commane: cmd: "{{ encrypted_drive.command }}" stdin: "{{ encrypted_drive.password }}" # The drive's password + stdin_add_newline: yes # Ensure the stdin hits "Return" creates: "{{ www_path }}" # Will not run if path already exists - stdin_add_newline: yes become: true notify: - Restart MySQL