chore(dotfiles): use Ansible Vault password file
This commit is contained in:
parent
beadeaa0f8
commit
c7c6acdd9b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue