feat: add Rocky to possible targets

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2024-12-14 14:31:39 +01:00
parent fa5339e1c1
commit fb94b38a57
Signed by: mfocko
SSH key fingerprint: SHA256:icm0fIOSJUpy5+1x23sfr+hLtF9UhY8VpMC7H4WFJP8
6 changed files with 6 additions and 4 deletions

View file

@ -10,7 +10,7 @@
- role: os_el
become: true
when: ansible_distribution in [ "AlmaLinux", "CentOS" ]
when: ansible_distribution in [ "AlmaLinux", "CentOS", "Rocky" ]
# Upgrade all packages and install the basic-bitch ones
- role: base_system

View file

@ -0,0 +1 @@
install_fedora-family.yml

View file

@ -0,0 +1 @@
install_el.yml

View file

@ -1,6 +1,6 @@
---
- name: Install HC Vault via package manager
when: ansible_distribution in [ "AlmaLinux", "CentOS", "Fedora", "Ubuntu"]
when: ansible_distribution in [ "AlmaLinux", "CentOS", "Fedora", "Rocky", "Ubuntu"]
tags: install
block:
- name: Enable repository

View file

@ -34,4 +34,4 @@
name: yad
state: present
become: true
when: 'ansible_distribution not in [ "AlmaLinux" ] and "openSUSE" not in ansible_distribution'
when: 'ansible_distribution not in [ "AlmaLinux", "Rocky" ] and "openSUSE" not in ansible_distribution'

View file

@ -3,7 +3,7 @@
ansible.builtin.package:
name: pam_yubico
state: present
when: ansible_distribution in [ "AlmaLinux", "CentOS", "Fedora" ]
when: ansible_distribution in [ "AlmaLinux", "CentOS", "Fedora", "Rocky" ]
- name: Enable PPA on Ubuntu
ansible.builtin.apt_repository: