From 23f08b350b3933a23d4135388e4e94437fea1422 Mon Sep 17 00:00:00 2001 From: Sandwich Date: Mon, 5 Jan 2026 18:19:14 +0100 Subject: [PATCH] refactor(services): remove unnecessary firewalld services disablement. It is not needed if the firewalld package is not installed in the first place --- roles/configuration/tasks/services.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/roles/configuration/tasks/services.yml b/roles/configuration/tasks/services.yml index d540b6a..c5b9fc9 100644 --- a/roles/configuration/tasks/services.yml +++ b/roles/configuration/tasks/services.yml @@ -14,10 +14,3 @@ }} register: configuration_enable_services_result changed_when: configuration_enable_services_result.rc == 0 - -- name: Disable firewalld when disabled - when: not firewalld_enabled | bool - ansible.builtin.command: "{{ chroot_command }} /mnt systemctl disable --now firewalld" - register: configuration_disable_firewalld_result - changed_when: configuration_disable_firewalld_result.rc == 0 - failed_when: false