ansible/tasks
Adam Williamson 73db9ea127 Ensure python3-dnf is installed on Fedora 41+ hosts
dnf5 requires neither python3-rpm nor python3-dnf, so we cannot
assume they are installed (as they always were before). ansible's
package_facts needs python3-rpm (even in the latest upstream
version), so we at least need that. The ansible in rhel9 (which
is what's on batcave01 currently) does not support dnf5 at all,
so we need python3-dnf installed so it can use its dnf3/4
support. python3-dnf relies on python3-rpm, so we can just
check for and install python3-dnf. Once batcave01 is updated to
an ansible that supports dnf5 we won't need python3-dnf, but we
*will* still need python3-rpm.

Stuffing this in yumrepos.yml as it runs on everything, early,
and is packaging-related. We could make it a separate task but
then we'd need to make every playbook include it...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-22 11:21:41 -08:00
..
aws_cloud.yml aws_cloud: temporary ec2 user 2024-03-13 18:52:43 +01:00
cloud_setup_basic.yml copr-be: document one "ignore_errors" instance 2022-03-15 16:27:27 +01:00
confine_ssh.yml Add the confine_ssh task 2014-08-26 18:28:27 +00:00
happy_birthday.yml Need to also check for the variable 2017-12-07 01:31:17 +00:00
motd.yml Tag this further. 2014-12-17 20:41:50 +00:00
openvpn_client.yml Move the rest of yum: to package: as well 2017-10-09 00:38:26 +02:00
openvpn_client_7.yml Go through and remove entries for EL6 and EL7 2024-07-03 22:20:30 +00:00
persistent_cloud.yml re-add tasks/persistent_cloud.yml as it is used by copr 2020-05-13 14:08:37 -07:00
postfix_basic.yml main.cf files need to be moved before we claim they are templates 2023-06-19 10:39:39 +02:00
rdiff_backup_server.yml yum accepted pkg=, package calls it name= 2017-10-09 00:38:26 +02:00
reg-server.yml Fix up registry 2018-10-16 18:53:51 +00:00
serialgetty.yml Fix all tasks to not use old action: statements. 2016-01-06 21:25:10 +00:00
swap.yml copr-pulp: swap fix - no btrfs on EL9 2024-03-13 20:18:20 +01:00
virt_instance_create.yml virt_instance_create: drop python3 handling 2024-10-02 10:50:20 -07:00
yumrepos.yml Ensure python3-dnf is installed on Fedora 41+ hosts 2024-11-22 11:21:41 -08:00