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

Add firewalld support for RedHat #689

Closed
wants to merge 3 commits into from
Closed

Conversation

redy01
Copy link

@redy01 redy01 commented Jul 5, 2024

@vitabaks
Copy link
Owner

vitabaks commented Jul 5, 2024

Hi @redy01

In this case, it is necessary to support both types:

  • firewalld (RHEL based)
  • ufw (Debian based)

iptables by default as it is suitable for both distribution families.

ansible.builtin.package:
name: iproute
name: "{{ firewall_type }}"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't have an iproute value for firewall_type variable.

@@ -127,6 +127,7 @@ sudo_users:

# Firewall
firewall_enabled_at_boot: false # or 'true' for configure firewall (iptables)
firewall_type: "firewalld" # available 'iptables','firewalld'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
firewall_type: "firewalld" # available 'iptables','firewalld'
firewall_type: "iptables" # available 'iptables','firewalld'

Use iptables by default as it is suitable for both distribution families.

@redy01 redy01 closed this Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants