From c7c6acdd9b4c742ec174614f2f17f9c87391c835 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 26 Apr 2022 20:55:52 +0100 Subject: [PATCH] chore(dotfiles): use Ansible Vault password file --- bin/dotfiles | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/dotfiles b/bin/dotfiles index 837ebb3..bdd5dce 100755 --- a/bin/dotfiles +++ b/bin/dotfiles @@ -25,7 +25,7 @@ install_ansible() { } run_playbook() { - ansible-playbook --diff --extra-vars "@${CONFIG_DIR}/values.yaml" --ask-become-pass "${DOTFILES_DIR}/main.yaml" "${@}" + ansible-playbook --diff --extra-vars "@${CONFIG_DIR}/values.yaml" --vault-password-file=${CONFIG_DIR}/vault-password.txt "${DOTFILES_DIR}/main.yaml" "${@}" } clone_or_update_dotfiles