Optimized changed when

This commit is contained in:
Kevin Veen-Birkenbach 2025-04-29 03:07:19 +02:00
parent 25952fc7e9
commit 9a71ad7af9
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E

View File

@ -45,6 +45,7 @@
loop: "{{ plugin_configuration }}"
command: >
{{ nextcloud_docker_exec_occ }} config:app:set {{ item.appid }} {{ item.configkey }} --value '{{ item.configvalue | to_json if item.configvalue is mapping else item.configvalue }}'
changed_when: "'Config value were not updated' not in stdout"
when: plugin_vars_file.stat.exists