We were using /var/run/ansible/zuul_reboot.lock to flock around this cron job. Unfortauntely it seems /var/run/ansible does not exist so the flock command fails. Move the file to /var/run/zuul_reboot.lock to work around this. Note that we want to use /var/run since it is a tmpfs which means if the server unexpectedly reboots we'll automatically clear the lock. Change-Id: Ib0f4a434cbbf2152722493e80b5cc7a945c1f235changes/08/847808/1
parent
aedd023738
commit
f981042733
Loading…
Reference in new issue