Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

jistr/ansible-dconf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

ansible-dconf

Ansible module for setting DConf entries.

See also 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 - <user> 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'"

About

Ansible module for setting DConf entries

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages