Created
July 4, 2020 02:26
-
-
Save juanje/08e8eaeebc6fd8659ca84db5d71e2da9 to your computer and use it in GitHub Desktop.
Revisions
-
juanje created this gist
Jul 4, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,28 @@ --- - name: Configure desktop hosts: localhost gather_facts: false vars: dconf_items: - { key: "/org/gnome/desktop/interface/clock-show-date", value: "true" } - { key: "/org/gnome/desktop/interface/clock-show-weekday", value: "true" } - { key: "/org/gnome/desktop/peripherals/touchpad/natural-scroll", value: "false" } - { key: "/org/gnome/shell/extensions/desktop-icons/show-home", value: "false" } - { key: "/org/gnome/shell/extensions/desktop-icons/show-trash", value: "false" } - { key: "/org/gnome/desktop/sound/allow-volume-above-100-percent", value: "true" } - { key: "/org/gnome/settings-daemon/plugins/media-keys/max-screencast-length", value: "300" } tasks: - name: Ensure dconf module can work become: true package: name: python3-psutil dbus-tools state: present - name: Ensure Desktop settings dconf: key: "{{ item.key }}" value: "{{ item.value }}" with_items: "{{ dconf_items }}"