tests: force rpm pkg upgrade

Due to a bug with the rpm version present in the current stream8 vagrant image,
we have to make sure it is first upgraded to the latest version.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
pull/7416/head
Guillaume Abrioux 2023-03-22 16:29:46 +01:00 committed by Teoman ONAY
parent f171bf5745
commit b87f214a96
1 changed files with 6 additions and 0 deletions

View File

@ -58,6 +58,12 @@
# - ansible_facts['distribution_major_version'] | int > 7
# - not is_atomic | bool
- name: force rpm pkg upgrade
package:
name: rpm
state: latest
when: not is_atomic | bool
- name: update the system
command: dnf update -y
changed_when: false