diff --git a/.gitignore b/.gitignore index 4b78c0b..be4f591 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /.idea /.vagrant /ansible/galaxy.roles/ +ansible-vault-password-file *.retry diff --git a/Makefile b/Makefile index 2cd5076..7f538b6 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ configure: $(TAGS_ARGS) \ --inventory="$(INVENTORY)" \ --extra-vars='ansible_python_interpreter=/usr/bin/python3' \ - --ask-vault-pass \ + --vault-password-file="ansible-vault-password-file" \ $(PLAYBOOK) configure-apps: @@ -45,7 +45,7 @@ dry-run: $(TAGS_ARGS) \ --inventory="$(INVENTORY)" \ --extra-vars='ansible_python_interpreter=/usr/bin/python3' \ - --ask-vault-pass \ + --vault-password-file="ansible-vault-password-file" \ --check \ --diff \ $(PLAYBOOK) @@ -53,6 +53,7 @@ dry-run: list-tags: ansible-playbook \ --inventory="$(INVENTORY)" \ + --vault-password-file="ansible-vault-password-file" \ --list-tags \ $(PLAYBOOK)