diff options
| author | Guilhem Moulin <guilhem@fripost.org> | 2025-09-10 15:31:19 +0200 | 
|---|---|---|
| committer | Guilhem Moulin <guilhem@fripost.org> | 2025-09-10 15:31:19 +0200 | 
| commit | 831c41b79273d112367811331faab034e4d81cf1 (patch) | |
| tree | d0d1cf82d836e33fc519f218be2b8110a964c007 | |
| parent | 4b48f1b6dd799d1a69f0c9e2a157a007fcdcbe25 (diff) | |
As of ansible 2.19 a non-zero value is no longer converted to a boolean.
| -rw-r--r-- | roles/common/tasks/firewall.yml | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/roles/common/tasks/firewall.yml b/roles/common/tasks/firewall.yml index fd1ad92..30f4fa9 100644 --- a/roles/common/tasks/firewall.yml +++ b/roles/common/tasks/firewall.yml @@ -18,7 +18,7 @@    register: rv    # A non-zero return value will make ansible stop and show stderr. This    # is what we want. -  changed_when: rv.rc +  changed_when: rv.rc != 0  - name: Enable nftables.service    service: name=nftables enabled=yes | 
