From 2059719d40692e2ac36a694fb7c93ac2970a4337 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Fri, 5 Nov 2021 17:06:57 +0000 Subject: [PATCH] Install Gnome shell extensions --- roles/fedora/tasks/packages-gui.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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