Specify steps for some of the upgrade tasks
upgrade_tasks need to use "when: step|int == [0-6]"
for all tasks.
Change-Id: Ie3f3f25d3e4b200b4e9c1db54716dc18f4aa0b29
(cherry picked from commit e604adb957
)
This commit is contained in:
parent
3965818719
commit
ca28ad3502
|
@ -299,6 +299,7 @@ outputs:
|
|||
state: present
|
||||
when: ansible_facts['distribution_major_version'] is version('8', '==')
|
||||
- name: check if libvirt is installed
|
||||
when: step|int == 0
|
||||
command: /usr/bin/rpm -q libvirt-daemon
|
||||
failed_when: false
|
||||
register: libvirt_installed
|
||||
|
@ -313,7 +314,9 @@ outputs:
|
|||
loop:
|
||||
- libvirtd.service
|
||||
- virtlogd.socket
|
||||
when: libvirt_installed.rc == 0
|
||||
when:
|
||||
- step|int == 0
|
||||
- libvirt_installed.rc == 0
|
||||
- name: Special treatment for OpenvSwitch
|
||||
tripleo_ovs_upgrade:
|
||||
when:
|
||||
|
|
Loading…
Reference in New Issue