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 May 21, 2024
1 parent 16d90b6 commit ca9fefa
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 @@ -33,8 +33,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 @@ -32,7 +32,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 ca9fefa

Please sign in to comment.