Add support for EL 10

This commit is contained in:
Anthony Rose 2024-12-17 15:20:54 +00:00
parent 3478e3a919
commit 99c483348b
3 changed files with 44 additions and 1 deletions

View file

@ -67,3 +67,29 @@
- wireguard-tools
- zram-generator
when: ansible_distribution_major_version == '9'
- name: Install CLI packages (EL 10)
become: true
ansible.builtin.dnf:
name: '{{ packages }}'
state: present
vars:
packages:
- "@development"
- bc
- bind-utils
- clang
- dnf-automatic
- git
- gnupg2
- mc
- nmap
- openssh-server
- podman
- sqlite
- sudo
- tmux
- toolbox
- vim-enhanced
- wireguard-tools
- zram-generator
when: ansible_distribution_major_version == '10'

View file

@ -41,3 +41,14 @@
- google-noto-serif-fonts
- liberation-fonts
when: ansible_distribution_major_version == '9'
- name: Install GUI packages (EL 10)
become: true
ansible.builtin.dnf:
name: '{{ packages }}'
state: present
vars:
packages:
- git-gui
- gnome-tweaks
- gnome-shell-extension-status-icons
when: ansible_distribution_major_version == '10'

View file

@ -13,9 +13,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
- name: Install zram-generator.conf
- name: Install zram-generator.conf (EL 9)
become: true
ansible.builtin.copy:
src: zram-generator.conf
dest: /etc/systemd/zram-generator.conf
when: ansible_distribution_major_version == '9'
- name: Install zram-generator.conf (EL 10)
become: true
ansible.builtin.copy:
src: zram-generator.conf
dest: /etc/systemd/zram-generator.conf
when: ansible_distribution_major_version == '10'