Fix tasks running on EL

This commit is contained in:
Anthony Rose 2021-11-16 10:36:11 -05:00
parent d7ef97c787
commit 28ef25ff55
2 changed files with 16 additions and 4 deletions

View file

@ -32,9 +32,7 @@
state: present
vars:
packages:
- "@container-tools"
- "@development"
- aspell-en
- bc
- bind-utils
- clang
@ -44,9 +42,19 @@
- mc
- nmap
- openssh-server
- python38
- python38-psutil
- sqlite
- sudo
- tmux
- vim-enhanced
- name: Install CLI packages (EL 8)
become: true
ansible.builtin.dnf:
name: '{{ packages }}'
state: present
vars:
packages:
- "@container-tools"
- aspell-en
- python38
- python38-psutil
when: ansible_distribution_major_version == 8

View file

@ -23,6 +23,10 @@
- git-gui
- liberation-fonts
- vim-X11
- name: Check for Gnome Shell
ansible.builtin.stat:
path: /usr/bin/gnome-shell
register: gnome_shell
- name: Install Gnome packages (EL 8)
become: true
ansible.builtin.dnf: