12 lines
323 B
YAML
12 lines
323 B
YAML
|
|
- name: "Open encrypted drive"
|
|
commane:
|
|
cmd: "/sbin/mount_vault"
|
|
stdin: "{{ encrypted_drive.password }}" # The drive's password
|
|
creates: "{{ www_path }}" # Will not run if path already exists
|
|
stdin_add_newline: yes
|
|
become: true
|
|
notify:
|
|
- Restart MySQL
|
|
- Restart PostgreSQL
|
|
- Restart Docker
|