Skip to content

Commit

Permalink
Add OracleLinux.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-de-bock committed Jan 18, 2024
1 parent f929152 commit 868595e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ _firewall_packages:
- python3-firewall
Suse:
- firewalld

firewall_packages_conflicting: "{{ _firewall_packages['conflicting'][ansible_distribution ~ '-' ~ ansible_distribution_major_version] | default(_firewall_packages['conflicting'][ansible_os_family] | default(_firewall_packages['conflicting']['default'] )) }}"

firewall_packages_required: "{{ _firewall_packages['required'][ansible_distribution ~ '-' ~ ansible_distribution_major_version] | default(_firewall_packages['required'][ansible_os_family] | default(_firewall_packages['required']['default'] )) }}"

_firewall_service:
Expand All @@ -44,11 +42,10 @@ _firewall_service:
RedHat-7: firewalld
RedHat-8: firewalld
Fedora: firewalld
OracleLinux: firewalld
openSUSE Leap: firewalld

firewall_service: "{{ _firewall_service[ansible_distribution ~ '-' ~ ansible_distribution_major_version] | default (_firewall_service[ansible_distribution] | default (_firewall_service['default'] )) }}"

_firewall_iptables_rulefile:
Alpine: /etc/iptables/rules-save

firewall_iptables_rulefile: "{{ _firewall_iptables_rulefile[ansible_distribution ~ '-' ~ ansible_distribution_major_version] | default(_firewall_iptables_rulefile[ansible_distribution] | default(_firewall_iptables_rulefile['default'] )) }}"

0 comments on commit 868595e

Please sign in to comment.