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

13 lines
323 B
YAML
Raw Normal View History

- 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