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