Set gnome power settings
This commit is contained in:
parent
8eeb3e77a6
commit
f20947e642
12
roles/04_desktop/tasks/gsettings.yml
Normal file
12
roles/04_desktop/tasks/gsettings.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
- name: Power button behaviour
|
||||
community.general.dconf:
|
||||
key: "/org/gnome/settings-daemon/plugins/power/power-button-action"
|
||||
value: "interactive"
|
||||
state: present
|
||||
|
||||
- name: Power button behaviour
|
||||
community.general.dconf:
|
||||
key: "/org/gnome/settings-daemon/plugins/power/sleep-inactive-ac-type"
|
||||
value: "nothing"
|
||||
state: present
|
|
@ -18,3 +18,6 @@
|
|||
name: gdm.service
|
||||
enabled: yes
|
||||
become: true
|
||||
|
||||
- name: Configure GNOME Settings
|
||||
ansible.builtin.import_tasks: gsettings.yml
|
||||
|
|
Loading…
Reference in New Issue
Block a user