execute: Enable --diff on ansible-run

master
Felix Stupp 4 years ago
parent c2b63a21a5
commit ae938f5735
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -10,7 +10,7 @@ function is_update() {
cd "$DIR";
echo "localhost ansible_connection=local" > hosts
if ansible-playbook -i hosts site.yml; then
if ansible-playbook --diff -i hosts site.yml; then
if is_update; then
update_finished;
exit 1;

Loading…
Cancel
Save