add iptables tail rules
This commit is contained in:
parent
3fa6a3c5fc
commit
91c7cfef59
@ -23,3 +23,12 @@
|
|||||||
state: present
|
state: present
|
||||||
rules: '{{ iptables_default_head }}'
|
rules: '{{ iptables_default_head }}'
|
||||||
tags: iptables
|
tags: iptables
|
||||||
|
|
||||||
|
- name: Set default iptables tail rules
|
||||||
|
iptables_raw:
|
||||||
|
name: iptables_default_tail
|
||||||
|
weight: 99
|
||||||
|
keep_unmanaged: '{{ iptables_keep_unmanaged }}'
|
||||||
|
state: '{{ (iptables_default_tail != "" ) | ternary("present", "absent") }}'
|
||||||
|
rules: '{{ iptables_default_tail }}'
|
||||||
|
tags: iptables
|
||||||
|
Loading…
Reference in New Issue
Block a user