From a1728c18861475810aa7a077ec019ee7f623fa73 Mon Sep 17 00:00:00 2001 From: Naglfar Date: Fri, 24 Sep 2021 19:59:20 +0200 Subject: [PATCH] Give touch one second more --- roles/common/files/ansible-run | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/common/files/ansible-run b/roles/common/files/ansible-run index d81351a..564a9da 100644 --- a/roles/common/files/ansible-run +++ b/roles/common/files/ansible-run @@ -10,6 +10,7 @@ else cd /var/thunix/ansible while [ $SCHED = 1 ] do + sleep 1 touch $RUNNING /usr/bin/git pull /usr/local/bin/ansible-playbook -i /var/thunix/ansible/hosts /var/thunix/ansible/site.yml -u root