-
Notifications
You must be signed in to change notification settings - Fork 2
/
gnome-setup-playbook.yml
29 lines (26 loc) · 1.08 KB
/
gnome-setup-playbook.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
- name: Setup Gnome
hosts: localhost
tasks:
- name: Enable GNOME Night Light
community.general.dconf:
key: "/org/gnome/settings-daemon/plugins/color/night-light-enabled"
value: "true"
state: present
- name: Configure GNOME Auto Move Windows extension workspace rules
community.general.dconf:
key: "/org/gnome/shell/extensions/auto-move-windows/application-list"
value: "['org.signal.Signal.desktop:2']"
state: present
- name: Enable GNOME Shell Extensions
block:
- name: Check the status of GNOME Shell Extensions
ansible.builtin.command: gnome-extensions list --enabled
register: enabled_extensions
changed_when: false
- name: Enable GNOME Shell Extensions if not already enabled
ansible.builtin.command: gnome-extensions enable {{ item }}
loop:
when: item not in enabled_extensions.stdout