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

View File

@ -136,15 +136,14 @@ outputs:
when: when:
- step|int == 2 - step|int == 2
- ovs_upgrade.changed|bool - ovs_upgrade.changed|bool
# Exclude ansible until https://github.com/ansible/ansible/issues/56636 # Exclude ansible-core due to bz https://bugs.launchpad.net/tripleo/+bug/1998501
# is available
- name: Update all packages - name: Update all packages
when: step|int == 3 when: step|int == 3
dnf: dnf:
name: '*' name: '*'
state: latest state: latest
allowerasing: yes allowerasing: yes
exclude: ansible exclude: ansible-core
- name: Check that os-net-config has configuration - name: Check that os-net-config has configuration
when: step|int == 3 when: step|int == 3
stat: stat: