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. As a part of standalone-roles work update tasks from tht deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml were migrated to tripleo-ansible and this is the reason why need tht change[1] together with this tripleo-ansible change. Related-Bug: #1998501 [1]https://review.opendev.org/c/openstack/tripleo-heat-templates/+/872568 Change-Id: I09586601036370696f0b93e7b171a0bcc5393b27
This commit is contained in:
parent
9256ab0a86
commit
b089cda9cc
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user