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

This commit is contained in:
Zuul 2023-02-14 13:25:50 +00:00 committed by Gerrit Code Review
commit c88b955378
2 changed files with 4 additions and 6 deletions

View File

@ -14,15 +14,14 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
# 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: when:
- not skip_package_update|bool - not skip_package_update|bool
ansible.builtin.dnf: ansible.builtin.dnf:
name: '*' name: '*'
state: latest state: latest
exclude: ansible exclude: ansible-core
# This is failsafe unless openvswitch package does something # This is failsafe unless openvswitch package does something
# to the systemd service state. # to the systemd service state.
- name: Ensure openvswitch is running after update - name: Ensure openvswitch is running after update

View File

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