playbook.yml aktualisiert
This commit is contained in:
parent
3d93485070
commit
59442ac92b
|
@ -45,12 +45,14 @@
|
|||
- name: Allow all access to tcp port 123
|
||||
ufw:
|
||||
rule: allow
|
||||
port: '123'
|
||||
port: '3142'
|
||||
direction: '{{ item }}'
|
||||
with_items:
|
||||
- in
|
||||
- out
|
||||
when: config_ufw
|
||||
environment:
|
||||
PATH: /sbin:{{ ansible_env.PATH }}
|
||||
|
||||
- name: Allow SSH-Access to some servers
|
||||
ufw:
|
||||
|
@ -103,7 +105,8 @@
|
|||
- { direction: 'out', destination: '10.0.2.243/32' }
|
||||
- { direction: 'in', destination: '10.16.1.3/32' }
|
||||
- { direction: 'out', destination: '10.16.1.3/32' }
|
||||
|
||||
environment:
|
||||
PATH: /sbin:{{ ansible_env.PATH }}
|
||||
- name: Allow DNS-Access to some servers
|
||||
ufw:
|
||||
rule: allow
|
||||
|
|
Loading…
Reference in New Issue