automation/deployer/roles/host/tasks/encrypted_drive.yml
2020-07-27 14:39:59 +02:00

13 lines
335 B
YAML

- name: "Open encrypted drive"
commane:
cmd: "{{ encrypted_drive.command }}"
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