Fix wrong logic for triggering os-net-config special handling.
We want the special upgrade to be trigger when the os_net_config_need_upgrade is true. Change-Id: I6da13ad8bc9675ea2a80006615f4dc98355182f9 Closes-Bug: #1734135
This commit is contained in:
parent
7984be92db
commit
fac92ba0e7
@ -72,7 +72,7 @@ outputs:
|
||||
failed_when: os_net_config_upgrade.rc not in [0,2]
|
||||
changed_when: os_net_config_upgrade.rc == 2
|
||||
tags: step3
|
||||
when: not os_net_config_need_upgrade.stdout and os_net_config_has_config.rc == 0
|
||||
when: os_net_config_need_upgrade.stdout and os_net_config_has_config.rc == 0
|
||||
- name: Update all packages
|
||||
tags: step3
|
||||
yum: name=* state=latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user