Ansible package changed name to ansible-core, update exclude value

Ansible package changed name to ansible-core. Exclude must stay due to
bz https://bugs.launchpad.net/tripleo/+bug/1998501, only update exclude
field to exclude ansible-core instead of ansible.

Related-Bug: #1998501

Change-Id: I2c83d7f494267d4c4bf9e7663a7ece048658a406
(cherry picked from commit f775a5fb00)
This commit is contained in:
mciecier 2023-02-02 17:35:22 +01:00
parent c290ddf2db
commit 7a65165ada
2 changed files with 4 additions and 6 deletions

View File

@ -379,8 +379,7 @@ outputs:
- step|int == 3
- os_net_config_need_upgrade.stdout
- stat_config_json.stat.exists
# Exclude ansible until https://github.com/ansible/ansible/issues/56636
# is available
# Exclude ansible-core due to https://bugs.launchpad.net/tripleo/+bug/1998501
- name: Update all packages
when:
- step|int == 3
@ -388,7 +387,7 @@ outputs:
yum:
name: '*'
state: latest
exclude: ansible
exclude: ansible-core
vars:
skip_package_update: {get_param: SkipPackageUpdate}
external_upgrade_tasks:

View File

@ -136,15 +136,14 @@ outputs:
when:
- step|int == 2
- ovs_upgrade.changed|bool
# 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: step|int == 3
dnf:
name: '*'
state: latest
allowerasing: yes
exclude: ansible
exclude: ansible-core
- name: Check that os-net-config has configuration
when: step|int == 3
stat: