Handle differences between EL8 and EL9
This commit is contained in:
parent
2439b6d226
commit
d7ef97c787
1 changed files with 21 additions and 0 deletions
|
@ -23,3 +23,24 @@
|
|||
- git-gui
|
||||
- liberation-fonts
|
||||
- vim-X11
|
||||
- name: Install Gnome packages (EL 8)
|
||||
become: true
|
||||
ansible.builtin.dnf:
|
||||
name: '{{ packages }}'
|
||||
state: present
|
||||
vars:
|
||||
packages:
|
||||
- gnome-shell-extension-dash-to-dock
|
||||
- gnome-tweaks
|
||||
when: gnome_shell.stat.exists and ansible_distribution_major_version == 8
|
||||
- name: Install Gnome packages (EL 9)
|
||||
become: true
|
||||
ansible.builtin.dnf:
|
||||
name: '{{ packages }}'
|
||||
state: present
|
||||
vars:
|
||||
packages:
|
||||
- gnome-extensions-app
|
||||
- gnome-shell-extension-dash-to-dock
|
||||
- gnome-tweaks
|
||||
when: gnome_shell.stat.exists and ansible_distribution_major_version == 9
|
||||
|
|
Loading…
Reference in a new issue