Commit e61fc6d3 authored by Mattia Rizzolo's avatar Mattia Rizzolo

deploy: fail the script if ansible fails

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 5e365398
...@@ -76,5 +76,4 @@ fi ...@@ -76,5 +76,4 @@ 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} \ ${vault_flags}
|| true
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