playbook.yml aktualisiert
This commit is contained in:
parent
17674683e9
commit
1e4f3637b9
10
playbook.yml
10
playbook.yml
|
@ -58,6 +58,8 @@
|
|||
- { direction: 'in', destination: '162.55.5.40/32' }
|
||||
- { direction: 'out', destination: '162.55.5.40/32' }
|
||||
when: config_ufw
|
||||
environment:
|
||||
PATH: /sbin:{{ ansible_env.PATH }}
|
||||
- name: Allow https-Access to some servers
|
||||
ufw:
|
||||
rule: allow
|
||||
|
@ -74,6 +76,8 @@
|
|||
- { direction: 'in', destination: '162.55.5.40/32' }
|
||||
- { direction: 'out', destination: '162.55.5.40/32' }
|
||||
when: config_ufw
|
||||
environment:
|
||||
PATH: /sbin:{{ ansible_env.PATH }}
|
||||
|
||||
- name: Allow DNS-Access to some servers
|
||||
ufw:
|
||||
|
@ -87,13 +91,15 @@
|
|||
- { direction: 'in', destination: '10.16.1.1/32' }
|
||||
- { direction: 'out', destination: '10.16.1.1/32' }
|
||||
when: config_ufw
|
||||
|
||||
environment:
|
||||
PATH: /sbin:{{ ansible_env.PATH }}
|
||||
- name: Allow dns
|
||||
ufw: rule={{ item.rule }} port={{ item.port }}
|
||||
with_items:
|
||||
- { rule: 'allow', port: '53'}
|
||||
when: config_ufw
|
||||
|
||||
environment:
|
||||
PATH: /sbin:{{ ansible_env.PATH }}
|
||||
- name: disable mounting of usb flash drives
|
||||
file:
|
||||
path: /media
|
||||
|
|
Loading…
Reference in New Issue