Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Specify steps for some of the upgrade tasks
Browse files Browse the repository at this point in the history
upgrade_tasks need to use "when: step|int == [0-6]"
for all tasks.

Change-Id: Ie3f3f25d3e4b200b4e9c1db54716dc18f4aa0b29
  • Loading branch information
rabi committed May 6, 2022
1 parent 0da3db3 commit e604adb
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit e604adb

Please sign in to comment.