Skip to content

Commit

Permalink
Package removed template guarded is with inverted logic
Browse files Browse the repository at this point in the history
Given variable should actually mark the state in which package should not be removed because it is needed by the setup
  • Loading branch information
teacup-on-rockingchair committed Jan 12, 2025
1 parent 7b73eb5 commit 99ba10f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ template:
vars:
pkgname: nftables
variable: var_network_filtering_service
value: firewalld|iptables
value: firewalld|nftables
operation: pattern match
{{%- else %}}
template:
Expand Down

0 comments on commit 99ba10f

Please sign in to comment.