From ae938f57355ac8058603a319b94af1becabf9686 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Mon, 26 Oct 2020 14:02:53 +0100 Subject: [PATCH] execute: Enable --diff on ansible-run --- playbook/execute.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbook/execute.sh b/playbook/execute.sh index 0ae424d..e6d1c83 100644 --- a/playbook/execute.sh +++ b/playbook/execute.sh @@ -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;