Skip to content

Commit

Permalink
orahost firewall_service defaults to firewalld on OL/EL 8
Browse files Browse the repository at this point in the history
When using the orahost role on OL Linux 8, the the firewall_service variable is not populated with firewalld causing the disable_firewall taks to fail (do nothing)
  • Loading branch information
daschg authored Nov 22, 2024
1 parent 48037e2 commit e9488b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/orahost/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ grid_users:
# @var firewall_service: $ "firewalld or iptables"
firewall_service: "{% if ansible_distribution_major_version | int == 6 -%}iptables\
{%- elif ansible_distribution_major_version | int == 7 -%}firewalld\
{%- elif ansible_distribution_major_version | int == 8 -%}firewalld\
{%- else %}0{% endif %}"

# @var sudoers_template:description: >
Expand Down

0 comments on commit e9488b2

Please sign in to comment.