19 lines
371 B
YAML
19 lines
371 B
YAML
|
---
|
||
|
|
||
|
- name: Accept INPUT loopback
|
||
|
ansible.builtin.iptables:
|
||
|
chain: INPUT
|
||
|
in_interface: lo
|
||
|
jump: ACCEPT
|
||
|
comment: Accept INPUT loopback
|
||
|
state: present
|
||
|
become: yes
|
||
|
|
||
|
- name: Accept OUTPUT loopback
|
||
|
ansible.builtin.iptables:
|
||
|
chain: OUTPUT
|
||
|
out_interface: lo
|
||
|
jump: ACCEPT
|
||
|
comment: Accept OUTPUT loopback
|
||
|
state: present
|
||
|
become: yes
|