https://github.com/jistr/ansible-dconf
Ansible module for setting DConf entries
https://github.com/jistr/ansible-dconf
ansible dconf gnome
Last synced: 11 months ago
JSON representation
Ansible module for setting DConf entries
- Host: GitHub
- URL: https://github.com/jistr/ansible-dconf
- Owner: jistr
- License: apache-2.0
- Archived: true
- Created: 2014-01-13T22:28:05.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2021-02-15T20:45:57.000Z (over 5 years ago)
- Last Synced: 2025-02-21T11:14:11.354Z (over 1 year ago)
- Topics: ansible, dconf, gnome
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 17
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ansible-dconf
=============
Ansible module for setting DConf entries.
See also
[ansible-gsetting](https://github.com/jistr/ansible-gsetting).
Installation
------------
curl https://raw.githubusercontent.com/jistr/ansible-dconf/master/dconf.py > ~/ansible_dir/library/dconf
Usage examples
--------------
- name: gnome-terminal default-show-menubar
dconf:
user: 'jistr'
key: '/org/gnome/terminal/legacy/default-show-menubar'
value: 'false'
The `user` parameter is optional, using the currently connected user if omitted. If set, it uses `su - ` to switch.
Be careful with string values, which should be passed into DConf
single-quoted. You'll need to quote the value twice in YAML:
- name: shortcut help
dconf:
user: 'jistr'
key: '/org/gnome/terminal/legacy/keybindings/help'
value: "'disabled'"