playbook.yml aktualisiert
This commit is contained in:
parent
eaf3e1efdd
commit
b82ce3b506
12
playbook.yml
12
playbook.yml
|
@ -70,6 +70,18 @@
|
|||
- { direction: 'in', destination: '162.55.5.40/32' }
|
||||
- { direction: 'out', destination: '162.55.5.40/32' }
|
||||
|
||||
- name: Allow DNS-Access to some servers
|
||||
ufw:
|
||||
rule: allow
|
||||
direction: '{{ item.direction }}'
|
||||
dest: '{{ item.destination }}'
|
||||
port: '53'
|
||||
with_items:
|
||||
- { direction: 'in', destination: '10.0.0.1/32' }
|
||||
- { direction: 'out', destination: '10.0.0.1/32' }
|
||||
- { direction: 'in', destination: '10.16.1.1/32' }
|
||||
- { direction: 'out', destination: '10.16.1.1/32' }
|
||||
|
||||
- name: Allow dns
|
||||
ufw: rule={{ item.rule }} port={{ item.port }}
|
||||
with_items:
|
||||
|
|
Loading…
Reference in New Issue