|
|
|
|
|
|
|
|
- require_in: |
|
|
- require_in: |
|
|
- iptables: iptables_flush |
|
|
- iptables: iptables_flush |
|
|
|
|
|
|
|
|
{%- if service.ipv6 %} |
|
|
|
|
|
|
|
|
{%- if grains.ipv6|default(False) and service.ipv6|default(True) %} |
|
|
iptables_{{ chain_name }}_ipv6_policy: |
|
|
iptables_{{ chain_name }}_ipv6_policy: |
|
|
iptables.set_policy: |
|
|
iptables.set_policy: |
|
|
- chain: {{ chain_name }} |
|
|
- chain: {{ chain_name }} |
|
|
|
|
|
|
|
|
iptables_flush: |
|
|
iptables_flush: |
|
|
iptables.flush |
|
|
iptables.flush |
|
|
|
|
|
|
|
|
{%- if service.ipv6 %} |
|
|
|
|
|
|
|
|
{%- if grains.ipv6|default(False) and service.ipv6|default(True) %} |
|
|
ip6tables_flush: |
|
|
ip6tables_flush: |
|
|
iptables.flush: |
|
|
iptables.flush: |
|
|
- family: ipv6 |
|
|
- family: ipv6 |