From 99ba10fefd51d7029ee4e88f84f312eb316fd733 Mon Sep 17 00:00:00 2001 From: teacup-on-rockingchair <315160+teacup-on-rockingchair@users.noreply.github.com> Date: Mon, 15 Apr 2024 18:25:51 +0300 Subject: [PATCH] Package removed template guarded is with inverted logic Given variable should actually mark the state in which package should not be removed because it is needed by the setup --- .../firewalld_deactivation/package_firewalld_removed/rule.yml | 3 +-- .../network/network-nftables/package_nftables_removed/rule.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/linux_os/guide/system/network/network-firewalld/firewalld_deactivation/package_firewalld_removed/rule.yml b/linux_os/guide/system/network/network-firewalld/firewalld_deactivation/package_firewalld_removed/rule.yml index b4d1a6ec54d..74935c28be2 100644 --- a/linux_os/guide/system/network/network-firewalld/firewalld_deactivation/package_firewalld_removed/rule.yml +++ b/linux_os/guide/system/network/network-firewalld/firewalld_deactivation/package_firewalld_removed/rule.yml @@ -35,8 +35,7 @@ template: vars: pkgname: firewalld variable: var_network_filtering_service - value: nftables|iptables - operation: pattern match + value: firewalld {{%- else %}} template: name: package_removed diff --git a/linux_os/guide/system/network/network-nftables/package_nftables_removed/rule.yml b/linux_os/guide/system/network/network-nftables/package_nftables_removed/rule.yml index 7df74c0d824..385fb09444d 100644 --- a/linux_os/guide/system/network/network-nftables/package_nftables_removed/rule.yml +++ b/linux_os/guide/system/network/network-nftables/package_nftables_removed/rule.yml @@ -33,7 +33,7 @@ template: vars: pkgname: nftables variable: var_network_filtering_service - value: firewalld|iptables + value: firewalld|nftables operation: pattern match {{%- else %}} template: