From c312ea379bdd4af6ff48d93db2d0010a952c7471 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 30 Nov 2020 16:29:57 +0100 Subject: [PATCH] Also fix the defaults. --- defaults/main.yml | 2 +- templates/iptables-rules.v4.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index bf5f1a3..ec8dfa5 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -16,7 +16,7 @@ iptables_generic_rules_default_policy: 'REJECT --reject-with icmp-host-prohibite ganglia_enabled: False nagios_enabled: False iptables_open_all_to_isti_nets: False -tomcat_cluster_enabled: False +jgroups_cluster_enabled: False # Another variable needs to be defined before the db rules are set psql_firewall_enabled: True mysql_firewall_enabled: True diff --git a/templates/iptables-rules.v4.j2 b/templates/iptables-rules.v4.j2 index 2a344c2..07cc634 100644 --- a/templates/iptables-rules.v4.j2 +++ b/templates/iptables-rules.v4.j2 @@ -262,7 +262,7 @@ {% endif %} {% endif %} {% if jgroups_cluster_enabled %} -# tomcat cluster +# tomcat/jboss/wildfly cluster -A INPUT -m pkttype --pkt-type multicast -d {{ jgroups_multicast_addr }} -j ACCEPT -A INPUT -m state --state NEW -p tcp -m tcp --dport {{ jgroups_multicast_port }} -j ACCEPT {% if hybernate_multicast_net is defined %}