Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make package installation for iptables and nftables mutually exclusive #11191

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
documentation_complete: true


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

title: 'Install iptables Package'

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

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

platform: machine
platform: machine and service_disabled[iptables] and service_disabled[ufw]

template:
name: package_installed
Expand Down
9 changes: 9 additions & 0 deletions shared/applicability/service_disabled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ args:
firewalld:
servicename: firewalld
packagename: firewalld
iptables:
servicename: iptables
packagename: iptables
nftables:
servicename: nftables
packagename: nftables
ufw:
servicename: ufw
packagename: ufw
Loading