# 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 become: true notify: - Restart MySQL - Restart PostgreSQL - Restart Docker