automation/deployer/roles/host/tasks/encrypted_drive.yml

13 lines
335 B
YAML
Raw Normal View History

- name: "Open encrypted drive"
commane:
2020-07-27 12:39:59 +00:00
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