Merge "Ansible package changed name to ansible-core, update exclude value" into stable/zed

This commit is contained in:
Zuul 2023-03-03 14:45:45 +00:00 committed by Gerrit Code Review
commit a1a22249fb
2 changed files with 4 additions and 6 deletions

View File

@ -14,15 +14,14 @@
# License for the specific language governing permissions and limitations
# under the License.
# Exclude ansible until https://github.com/ansible/ansible/issues/56636
# is available
# Exclude ansible-core due to bz https://bugs.launchpad.net/tripleo/+bug/1998501
- name: Update all packages
when:
- not skip_package_update|bool
ansible.builtin.dnf:
name: '*'
state: latest
exclude: ansible
exclude: ansible-core
# This is failsafe unless openvswitch package does something
# to the systemd service state.
- name: Ensure openvswitch is running after update

View File

@ -325,11 +325,10 @@
failed_when: os_net_config_upgrade.rc not in [0,2]
changed_when: os_net_config_upgrade.rc == 2
# Ansbile cannot upgrade itself as it will cause the current execution to fail.
# https://github.com/ansible/ansible/issues/56636
# Exclude ansible-core due to bz https://bugs.launchpad.net/tripleo/+bug/1998501
- name: Update all packages
when: (step | int) == 3
yum:
name: '*'
state: latest
exclude: ansible
exclude: ansible-core