From c5b51777c6448712ce0fc03df23eef6a4342e30d Mon Sep 17 00:00:00 2001 From: Ruakij Date: Fri, 23 Oct 2026 20:54:31 +0000 Subject: [PATCH] Ignore the missing geo timer unit of a host without geo sets in check mode --- host_firewall/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/host_firewall/tasks/main.yml b/host_firewall/tasks/main.yml index 42bd69f..8195e48 100644 --- a/host_firewall/tasks/main.yml +++ b/host_firewall/tasks/main.yml @@ -86,6 +86,8 @@ enabled: false state: stopped daemon_reload: "{{ firewall_units is changed }}" + # Check mode does not install the unit. + ignore_errors: "{{ ansible_check_mode }}" - name: Remove the geo sets file ansible.builtin.file: