From bb9353c4e69afc2cc5149c814e329c2c76a90fc9 Mon Sep 17 00:00:00 2001
From: entlein <einentlein@gmail.com>
Date: Wed, 29 Jun 2022 14:24:36 +0200
Subject: [PATCH] ignoring errors if firewalld is not found

---
 roles/rke2/tasks/setup_host.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/roles/rke2/tasks/setup_host.yml b/roles/rke2/tasks/setup_host.yml
index b907aea..db1f75c 100644
--- a/roles/rke2/tasks/setup_host.yml
+++ b/roles/rke2/tasks/setup_host.yml
@@ -45,6 +45,7 @@
     enabled: no
     masked: no
     state: stopped
+    ignore_errors: True #this command is not idempotent it seems
 
 - name: enable nftables
   ansible.builtin.systemd:
-- 
GitLab