19 lines
410 B
YAML
19 lines
410 B
YAML
|
---
|
||
|
|
||
|
- name: Accept INPUT 192.168.1.0/24
|
||
|
ansible.builtin.iptables:
|
||
|
chain: INPUT
|
||
|
destination: 192.168.1.0/24
|
||
|
jump: ACCEPT
|
||
|
comment: Accept INPUT established
|
||
|
state: present
|
||
|
become: yes
|
||
|
|
||
|
- name: Accept OUTPUT 192.168.1.0/24
|
||
|
ansible.builtin.iptables:
|
||
|
chain: OUTPUT
|
||
|
destination: 192.168.1.0/24
|
||
|
jump: ACCEPT
|
||
|
comment: Accept OUTPUT established
|
||
|
state: present
|
||
|
become: yes
|