Update UFW rc-update changed condition

This commit is contained in:
Damien
2026-06-01 10:48:05 +02:00
parent 38e73c9c96
commit 5768492bd3

View File

@@ -19,7 +19,7 @@
ansible.builtin.command:
cmd: rc-update add ufw default
register: rc_update_result
changed_when: >-
changed_when: >- # ">- : transform multiple lines into one line"
'already' not in rc_update_result.stdout
and 'already' not in rc_update_result.stderr
failed_when: rc_update_result.rc != 0