install dnf if {{ os }} is fedora

This commit is contained in:
Sandwich 2024-04-17 04:47:33 +02:00
parent 0c75114b94
commit 31c155ce92

View File

@ -53,7 +53,7 @@
state: latest
loop:
- { name: 'glibc' }
- { name: 'dnf', os: ['almalinux', 'rhel9', 'rhel8', 'rocky'] }
- { name: 'dnf', os: ['almalinux', 'fedora', 'rhel9', 'rhel8', 'rocky'] }
- { name: 'debootstrap', os: ['debian11', 'debian12'] }
- { name: 'debian-archive-keyring', os: ['debian11', 'debian12'] }
when: "'os' not in item or os in item.os"