diff --git a/tasks/main.yml b/tasks/main.yml index b5c8539..168afbb 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -316,6 +316,7 @@ delegate_to: localhost ansible.builtin.command: grep -q "" {{ local_config_path }} register: _grep_xml_encoding + failed_when: _grep_xml_encoding.rc > 2 changed_when: false - name: fix encoding of xml # noqa no-changed-when