Fixed 'make vault' target

This commit is contained in:
Bastian de Byl
2020-09-25 23:40:28 -04:00
parent 189255db01
commit 304902fafe

View File

@@ -39,7 +39,10 @@ ${VAULT_PASS_FILE}: ${ANSIBLE}
. ${PASS_SRC}; pass $$PASS_LOC > $@ . ${PASS_SRC}; pass $$PASS_LOC > $@
${VAULT_FILE}: ${VAULT_PASS_FILE} ${VAULT_FILE}: ${VAULT_PASS_FILE}
${ANSIBLE_VAULT} create --vault-password-file ${VAULT_PASS_FILE} $@ if [ ! -e "${VAULT_FILE}" ]; then \
${ANSIBLE_VAULT} create --vault-password-file ${VAULT_PASS_FILE} $@; \
fi
touch $@
# Linting # Linting
YAML_FILES=$(shell find ansible/ -name '*.yml' -not -name '*vault*') YAML_FILES=$(shell find ansible/ -name '*.yml' -not -name '*vault*')