Commit 618395fe authored by Mattia Rizzolo's avatar Mattia Rizzolo

deploy: get rid of the vault stuff as long as we're not using it

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent cf17d068
...@@ -66,14 +66,6 @@ ln -s "`readlink -e "${DIR_GROUP_VARS}"`" "${DIR_TEMP}/play/group_vars" ...@@ -66,14 +66,6 @@ ln -s "`readlink -e "${DIR_GROUP_VARS}"`" "${DIR_TEMP}/play/group_vars"
ln -s "`readlink -e "${playbook_file}"`" "${DIR_TEMP}/play/playbook.yml" ln -s "`readlink -e "${playbook_file}"`" "${DIR_TEMP}/play/playbook.yml"
ln -s "`readlink -e "${env}"`" "${DIR_TEMP}/env" ln -s "`readlink -e "${env}"`" "${DIR_TEMP}/env"
# Get the flags for the ansible-vault password
if [[ -f "${FILE_VAULT_PASSWORD}" ]]; then
vault_flags="--vault-password-file=`readlink -f "${FILE_VAULT_PASSWORD}"`"
else
vault_flags="--ask-vault-pass"
fi
# Finally execute the playbook against the server # Finally execute the playbook against the server
"${BIN_ANSIBLE_PLAYBOOK}" -i "${DIR_TEMP}/env/hosts" \ "${BIN_ANSIBLE_PLAYBOOK}" -i "${DIR_TEMP}/env/hosts" \
"${DIR_TEMP}/play/playbook.yml" \ "${DIR_TEMP}/play/playbook.yml" \
${vault_flags}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment