diff --git a/playbooks/zuul_reboot.yaml b/playbooks/zuul_reboot.yaml index db14461c5c..198cc3fee5 100644 --- a/playbooks/zuul_reboot.yaml +++ b/playbooks/zuul_reboot.yaml @@ -18,11 +18,11 @@ apt: update_cache: yes upgrade: yes - register: apt_action - # 20 minute wait for unattended-upgrades to complete - delay: 30 - retries: 40 - until: apt_action is success or 'Failed to lock apt for exclusive operation' not in apt_action.msg + register: apt_action + # 20 minute wait for unattended-upgrades to complete + delay: 30 + retries: 40 + until: apt_action is success or 'Failed to lock apt for exclusive operation' not in apt_action.msg - name: Reboot the executor server reboot: - name: Start the executor @@ -42,11 +42,11 @@ apt: update_cache: yes upgrade: yes - register: apt_action - # 20 minute wait for unattended-upgrades to complete - delay: 30 - retries: 40 - until: apt_action is success or 'Failed to lock apt for exclusive operation' not in apt_action.msg + register: apt_action + # 20 minute wait for unattended-upgrades to complete + delay: 30 + retries: 40 + until: apt_action is success or 'Failed to lock apt for exclusive operation' not in apt_action.msg - name: Reboot the merger server reboot: - name: Start the merger @@ -72,11 +72,11 @@ apt: update_cache: yes upgrade: yes - register: apt_action - # 20 minute wait for unattended-upgrades to complete - delay: 30 - retries: 40 - until: apt_action is success or 'Failed to lock apt for exclusive operation' not in apt_action.msg + register: apt_action + # 20 minute wait for unattended-upgrades to complete + delay: 30 + retries: 40 + until: apt_action is success or 'Failed to lock apt for exclusive operation' not in apt_action.msg - name: Reboot the scheduler server reboot: - name: Start the scheduler process