diff --git a/roles/fedora/tasks/packages-gui.yml b/roles/fedora/tasks/packages-gui.yml index d90ca98..5bc7eb2 100644 --- a/roles/fedora/tasks/packages-gui.yml +++ b/roles/fedora/tasks/packages-gui.yml @@ -25,3 +25,17 @@ - liberation-fonts - remmina - vim-X11 +- name: Check for Gnome Shell + ansible.builtin.stat: + path: /usr/bin/gnome-shell + register: gnome_shell +- name: Install Gnome extensions + become: true + ansible.builtin.dnf: + name: '{{ packages }}' + state: present + vars: + packages: + - gnome-extensions-app + - gnome-shell-extension-appindicator + when: gnome_shell.stat.exists