Merge "Put on hold the Ansible package update until is fixed" into stable/stein

This commit is contained in:
Zuul 2019-06-20 16:14:40 +00:00 committed by Gerrit Code Review
commit a83aefcd09
2 changed files with 17 additions and 6 deletions

View File

@ -263,9 +263,14 @@ outputs:
- step|int == 3
- os_net_config_need_upgrade.stdout
- os_net_config_has_config.rc == 0
# Exclude ansible until https://github.com/ansible/ansible/issues/56636
# is available
- name: Update all packages
when: step|int == 3
package: name=* state=latest
yum:
name: '*'
state: latest
exclude: ansible
external_upgrade_tasks:
- name: Clean up upgrade artifacts
when: step|int == 1
@ -289,9 +294,14 @@ outputs:
- name: Exit if existing yum process
fail: msg="ERROR existing yum.pid detected - can't continue! Please ensure there is no other package update process for the duration of the minor update worfklow. Exiting."
when: (step|int == 0 or step|int == 3) and yum_pid_file.stat.exists
# Exclude ansible until https://github.com/ansible/ansible/issues/56636
# is available
- name: Update all packages
package: name=* state=latest
when: step == "3"
when: step|int == 3
yum:
name: '*'
state: latest
exclude: ansible
# This is failsafe unless openvswitch package does something to the systemd service state.
- name: Ensure openvswitch is running after update
when: step|int == 3

View File

@ -188,8 +188,9 @@ outputs:
name: openvswitch
enabled: yes
state: started
- name: upgrade all packages
package:
- name: Update all packages
when: step|int == 3
yum:
name: '*'
state: latest
when: step|int == 3
exclude: ansible