11 lines
389 B
YAML
11 lines
389 B
YAML
---
|
|
- name: 'Check gsetting (gsettings get {{ item.setting }})'
|
|
command: 'gsettings get {{ item.setting }}'
|
|
register: gsettings_get_command
|
|
changed_when: false
|
|
|
|
- name: Apply gsetting (gsettings set)
|
|
command: gsettings set {{ item.setting }} {{ item.value }}
|
|
when:
|
|
- gsettings_get_command.stdout != item.value
|
|
- gsettings_get_command.stdout != ("''" + item.value + "''")
|