From fd78eb1b0f0b9340bedc5cfdef39aa87b11ac14d Mon Sep 17 00:00:00 2001 From: Anton Vakhrushev Date: Thu, 11 Aug 2022 17:51:29 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=84=D0=B0=D0=B9=D0=BB=20=D0=B4=D0=BB=D1=8F=20=D0=BF=D0=B0?= =?UTF-8?q?=D1=80=D0=BE=D0=BB=D1=8F=20vault?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + Makefile | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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)