install.fairie/home/dot_local/share/ansible/tasks/qubes/gsetting.yml
2023-07-16 01:40:26 -04:00

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