mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 19:06:39 +08:00
fix syntax error
This commit is contained in:
@@ -68,13 +68,13 @@ COMMIT
|
||||
# This is a replicating postgresql server, allow db connections from clients
|
||||
{% for host in groups['postgres-clients']|sort %}
|
||||
{% if 'eth0_ip' in hostvars[host] %}# {{ host }}
|
||||
-A INPUT -s { hostvars[host]['eth0_ip'] }} -p tcp -m tcp --dport 5432 -j ACCEPT
|
||||
-A INPUT -s {{ hostvars[host]['eth0_ip'] }} -p tcp -m tcp --dport 5432 -j ACCEPT
|
||||
{% else %}# {{ host }} has no 'eth0_ip' listed
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% for host in groups['postgres-clients-stg']|sort %}
|
||||
{% if 'eth0_ip' in hostvars[host] %}# {{ host }}
|
||||
-A INPUT -s { hostvars[host]['eth0_ip'] }} -p tcp -m tcp --dport 5432 -j ACCEPT
|
||||
-A INPUT -s {{ hostvars[host]['eth0_ip'] }} -p tcp -m tcp --dport 5432 -j ACCEPT
|
||||
{% else %}# {{ host }} has no 'eth0_ip' listed
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user