Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions shared/templates/dconf_ini_file/ansible.template
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
value: "{{{ VALUE }}}"
create: yes
when: {{{ rule_id }}}_config_files is defined and {{{ rule_id }}}_config_files.matched == 0
register: default_file

- name: "Configure {{{ PARAMETER }}} - existing files"
community.general.ini_file:
Expand All @@ -29,6 +30,7 @@
create: yes
with_items: "{{ {{{ rule_id }}}_config_files.files }}"
when: {{{ rule_id }}}_config_files is defined and {{{ rule_id }}}_config_files.matched > 0
register: existing_files

- name: "Detect if lock for {{{ PARAMETER }}} can be found on {{{ PATH }}}"
ansible.builtin.find:
Expand All @@ -55,3 +57,4 @@

- name: "Dconf Update - {{{ PARAMETER }}}"
ansible.builtin.command: dconf update
when: default_file is changed or existing_files is changed
Loading