Fedora 41

Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
Jason Rothstein 2024-12-27 20:39:33 -06:00
parent 566f31992b
commit 2fbb5b9d46
Signed by: jmrothst
GPG Key ID: 741BF3C536829D46

View File

@ -13,14 +13,15 @@
- name: 'ensure packages'
when:
- ansible_system == 'Linux'
- ensure_ansible_prereq is defined
ansible.builtin.package:
name: '{{ item.name }}'
state: '{{ item.state }}'
use: 'dnf'
loop:
- 'python3-rpm'
- 'python3-libdnf5'
- name: 'python3-rpm'
state: 'present'
- name: 'python3-libdnf5'
state: 'present'
loop_control:
label: '{{ item.name }} will be {{ item.state }}'
notify: