remove handler; remove tag
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2eb170a93d
commit
93c9a39a1a
@ -1,9 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Restart iptables
|
|
||||||
shell: sleep 2 && systemctl restart iptables
|
|
||||||
async: 1
|
|
||||||
poll: 0
|
|
||||||
ignore_errors: true
|
|
||||||
listen:
|
|
||||||
- "iptables_restart"
|
|
||||||
become: True
|
|
@ -11,7 +11,6 @@
|
|||||||
with_items: '{{ iptables_custom_rules }}'
|
with_items: '{{ iptables_custom_rules }}'
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.name }}"
|
label: "{{ item.name }}"
|
||||||
tags: iptables
|
|
||||||
|
|
||||||
- name: Set default iptables head rules
|
- name: Set default iptables head rules
|
||||||
iptables_raw:
|
iptables_raw:
|
||||||
@ -20,7 +19,6 @@
|
|||||||
keep_unmanaged: '{{ iptables_keep_unmanaged }}'
|
keep_unmanaged: '{{ iptables_keep_unmanaged }}'
|
||||||
state: present
|
state: present
|
||||||
rules: '{{ iptables_default_head }}'
|
rules: '{{ iptables_default_head }}'
|
||||||
tags: iptables
|
|
||||||
|
|
||||||
- name: Set default iptables tail rules
|
- name: Set default iptables tail rules
|
||||||
iptables_raw:
|
iptables_raw:
|
||||||
@ -29,6 +27,5 @@
|
|||||||
keep_unmanaged: '{{ iptables_keep_unmanaged }}'
|
keep_unmanaged: '{{ iptables_keep_unmanaged }}'
|
||||||
state: '{{ (not iptables_default_tail) | ternary("absent", "present") }}'
|
state: '{{ (not iptables_default_tail) | ternary("absent", "present") }}'
|
||||||
rules: '{{ iptables_default_tail }}'
|
rules: '{{ iptables_default_tail }}'
|
||||||
tags: iptables
|
|
||||||
become: True
|
become: True
|
||||||
become_user: root
|
become_user: root
|
||||||
|
Loading…
Reference in New Issue
Block a user