Add RockyLinux support

This commit is contained in:
2024-04-16 01:14:05 +02:00
parent 344753fa5b
commit cc40bae858
7 changed files with 42 additions and 24 deletions

View File

@@ -53,7 +53,7 @@
state: latest
loop:
- { name: 'glibc' }
- { name: 'dnf', os: ['almalinux', 'rhel9', 'rhel8'] }
- { name: 'dnf', os: ['almalinux', '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"
@@ -61,7 +61,7 @@
delay: 15
- name: Configure RHEL Repos for installation
when: os | lower == "almalinux" or os | lower == "fedora"
when: os | lower in ["almalinux", "fedora", "rocky"]
block:
- name: Create directories for repository files and RPM GPG keys
file: