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