toolbox/playbooks
Daniel Pawlik 96791726a3 playbooks: Add workaround for Fedora Rawhide
The Zuul executor contains Ansible 2.13.7 whose 'dnf' module is not
working as it should with Fedora Rawhide because of the DNF5 Change [1].
Unlike DNF4, DNF5 no longer pulls in the python3-dnf RPM, which causes:
  TASK [Install RPM packages]
  fedora-rawhide | ERROR
  fedora-rawhide | {
  fedora-rawhide |   "msg": "Could not import the dnf python module
      using /usr/bin/python3 (3.12.0b3 (main, Jun 21 2023, 00:00:00)
      [GCC 13.1.1 20230614 (Red Hat 13.1.1-4)]). Please install
      `python3-dnf` or `python2-dnf` package or ensure you have
      specified the correct ansible_python_interpreter. (attempted
      ['/usr/libexec/platform-python', '/usr/bin/python3',
      '/usr/bin/python2', '/usr/bin/python'])",
  fedora-rawhide |   "results": []
  fedora-rawhide | }

This adds a workaround that explicitly installs the python3-dnf RPM
using Ansible's 'command' module.  It should be removed after Zuul
contains a newer release of Ansible.

[1] https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5

https://github.com/containers/toolbox/pull/1338

Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
2023-07-11 19:40:07 +02:00
..
build.yaml .zuul, playbooks: Add copyright and license notices 2022-11-28 22:47:15 +01:00
dependencies-centos-9-stream.yaml playbooks: Use Ansible's 'command' module, instead of 'shell' 2023-06-22 18:20:49 +02:00
dependencies-fedora-restricted.yaml playbooks: Add workaround for Fedora Rawhide 2023-07-11 19:40:07 +02:00
dependencies-fedora.yaml playbooks: Add workaround for Fedora Rawhide 2023-07-11 19:40:07 +02:00
setup-env-migration-path-for-coreos-toolbox.yaml Test -Dmigration_path_for_coreos_toolbox on CentOS Stream 9 2022-12-14 23:09:55 +01:00
setup-env-restricted.yaml Test that toolbox(1) can be built without podman(1) and subordinate IDs 2023-03-02 10:25:54 +01:00
setup-env.yaml playbooks: Rename the file with the dependencies 2022-12-14 23:09:55 +01:00
system-test.yaml .zuul, playbooks: Add copyright and license notices 2022-11-28 22:47:15 +01:00
unit-test.yaml playbooks: Reveal the standard error & output streams from 'meson test' 2022-12-14 23:09:55 +01:00