From aed3be7fafc24025789feaf2d42d0e9ba25238b6 Mon Sep 17 00:00:00 2001 From: LUXEY Adrien Date: Mon, 27 Jul 2020 14:39:59 +0200 Subject: [PATCH] even better -- untested --- deployer/roles/host/tasks/encrypted_drive.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployer/roles/host/tasks/encrypted_drive.yml b/deployer/roles/host/tasks/encrypted_drive.yml index e148dcd..1577447 100644 --- a/deployer/roles/host/tasks/encrypted_drive.yml +++ b/deployer/roles/host/tasks/encrypted_drive.yml @@ -1,7 +1,7 @@ - name: "Open encrypted drive" commane: - cmd: "/sbin/mount_vault" + 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