Fix overindented ansible in zuul_reboot.yaml playbook
Ansible syntax got me. When I updated the apt tasks to retry on apt/dpkg locks I overindented the register, delay, retries, and until parameters. These are to the task not the module. Change-Id: I955d96b5467597503e0e5563e37ffa736ef2fcdc
This commit is contained in:
parent
87f96d3356
commit
bc833f1dfd
@ -18,11 +18,11 @@
|
|||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
upgrade: yes
|
upgrade: yes
|
||||||
register: apt_action
|
register: apt_action
|
||||||
# 20 minute wait for unattended-upgrades to complete
|
# 20 minute wait for unattended-upgrades to complete
|
||||||
delay: 30
|
delay: 30
|
||||||
retries: 40
|
retries: 40
|
||||||
until: apt_action is success or 'Failed to lock apt for exclusive operation' not in apt_action.msg
|
until: apt_action is success or 'Failed to lock apt for exclusive operation' not in apt_action.msg
|
||||||
- name: Reboot the executor server
|
- name: Reboot the executor server
|
||||||
reboot:
|
reboot:
|
||||||
- name: Start the executor
|
- name: Start the executor
|
||||||
@ -42,11 +42,11 @@
|
|||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
upgrade: yes
|
upgrade: yes
|
||||||
register: apt_action
|
register: apt_action
|
||||||
# 20 minute wait for unattended-upgrades to complete
|
# 20 minute wait for unattended-upgrades to complete
|
||||||
delay: 30
|
delay: 30
|
||||||
retries: 40
|
retries: 40
|
||||||
until: apt_action is success or 'Failed to lock apt for exclusive operation' not in apt_action.msg
|
until: apt_action is success or 'Failed to lock apt for exclusive operation' not in apt_action.msg
|
||||||
- name: Reboot the merger server
|
- name: Reboot the merger server
|
||||||
reboot:
|
reboot:
|
||||||
- name: Start the merger
|
- name: Start the merger
|
||||||
@ -72,11 +72,11 @@
|
|||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
upgrade: yes
|
upgrade: yes
|
||||||
register: apt_action
|
register: apt_action
|
||||||
# 20 minute wait for unattended-upgrades to complete
|
# 20 minute wait for unattended-upgrades to complete
|
||||||
delay: 30
|
delay: 30
|
||||||
retries: 40
|
retries: 40
|
||||||
until: apt_action is success or 'Failed to lock apt for exclusive operation' not in apt_action.msg
|
until: apt_action is success or 'Failed to lock apt for exclusive operation' not in apt_action.msg
|
||||||
- name: Reboot the scheduler server
|
- name: Reboot the scheduler server
|
||||||
reboot:
|
reboot:
|
||||||
- name: Start the scheduler process
|
- name: Start the scheduler process
|
||||||
|
Loading…
Reference in New Issue
Block a user