From b51ea0b6601cc765eebac838869c7b9083afb6e1 Mon Sep 17 00:00:00 2001 From: az Date: Wed, 8 May 2024 10:26:25 +0200 Subject: [PATCH] playbook.yml aktualisiert --- playbook.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/playbook.yml b/playbook.yml index 9e400d5..3116cb1 100644 --- a/playbook.yml +++ b/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