mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-11-05 03:55:38 +00:00
No need to rm the file, as systemd looks for state change
This commit is contained in:
1 parent
7fe50e2efc
commit
bc9f4a7e21
2 files changed
-2
No files matched your search
@@ -9,7 +9,6 @@ else
|
||||
cd /var/thunix/ansible
|
||||
/usr/bin/git pull
|
||||
/usr/local/bin/ansible-playbook -i /var/thunix/ansible/hosts /var/thunix/ansible/site.yml -u root
|
||||
rm /dev/shm/run-ansible
|
||||
touch /dev/shm/ansible-hook-last-run
|
||||
rm $RUNNING
|
||||
exit 0
|
||||
|
||||
@@ -8,7 +8,6 @@ else
|
||||
touch $RUNNING
|
||||
cd /var/www/thunix.cf
|
||||
/usr/bin/git pull
|
||||
rm /dev/shm/run-www
|
||||
touch /dev/shm/www-hook-last-run
|
||||
rm $RUNNING
|
||||
exit 0
|
||||
|
||||
Reference in new issue
Block a user