We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b377cc commit c455cf4Copy full SHA for c455cf4
tomcat-memcached-failover/roles/common/templates/iptables.j2
@@ -7,7 +7,6 @@
7
8
{% if (inventory_hostname in groups['lb_servers']) %}
9
-A INPUT -p tcp --dport {{ nginx_http_port }} -j ACCEPT
10
--A INPUT -p tcp --dport {{ nginx_https_port }} -j ACCEPT
11
{% endif %}
12
13
{% if inventory_hostname in groups['backend_servers'] %}
tomcat-memcached-failover/roles/memcached/templates/memcached.conf.j2
@@ -14,4 +14,4 @@ LOGFILE="/var/log/memcached.log"
14
CACHESIZE="{{ ansible_memtotal_mb / 2 }}"
15
16
#Set server IP address
17
-OPTIONS="-l {{ ansible_eth1['ipv4']['address'] }}"
+OPTIONS="-l {{ ansible_default_ipv4['address'] }}"
0 commit comments