playbook.yml aktualisiert
This commit is contained in:
parent
1e4f3637b9
commit
b51ea0b660
12
playbook.yml
12
playbook.yml
|
@ -15,6 +15,8 @@
|
|||
with_items:
|
||||
- { direction: 'incoming', policy: 'deny' }
|
||||
- { direction: 'outgoing', policy: 'deny' }
|
||||
environment:
|
||||
PATH: /sbin:{{ ansible_env.PATH }}
|
||||
|
||||
# disable ipv6
|
||||
- lineinfile:
|
||||
|
@ -25,7 +27,8 @@
|
|||
|
||||
- name: Enable ufw logging
|
||||
ufw: logging=off
|
||||
|
||||
environment:
|
||||
PATH: /sbin:{{ ansible_env.PATH }}
|
||||
- name: Commenting a line.
|
||||
replace:
|
||||
path: /etc/ufw/before.rules
|
||||
|
@ -198,7 +201,12 @@
|
|||
- juk
|
||||
autoremove: yes
|
||||
state: absent
|
||||
|
||||
- name: intall some prior installed packages
|
||||
apt:
|
||||
name:
|
||||
- htop
|
||||
- nmap
|
||||
state: latest
|
||||
|
||||
- name: Enable ufw
|
||||
ufw: state=enabled
|
||||
|
|
Loading…
Reference in New Issue