Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jistr/ansible-dconf

Ansible module for setting DConf entries
https://github.com/jistr/ansible-dconf

ansible dconf gnome

Last synced: 5 days ago
JSON representation

Ansible module for setting DConf entries

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'"