Skip to content

Commit

Permalink
Make package installation for iptables and nftables mutually exclusive
Browse files Browse the repository at this point in the history
  • Loading branch information
teacup-on-rockingchair committed Oct 11, 2023
1 parent 5c06539 commit ceac0cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ documentation_complete: true

prodtype: alinux2,alinux3,anolis23,anolis8,fedora,ol7,ol8,openembedded,rhcos4,rhel7,rhel8,rhv4,sle12,sle15,ubuntu2004,ubuntu2204

platform: machine and not rhcos4-rhel9
platform: machine and not rhcos4-rhel9 and not package[nftables] and not package[ufw]

title: 'Install iptables Package'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ocil_clause: 'the package is not installed'

ocil: '{{{ ocil_package(package="nftables") }}}'

platform: machine
platform: machine and not package[iptables] and not package[ufw]

template:
name: package_installed
Expand Down

0 comments on commit ceac0cd

Please sign in to comment.