From 59442ac92bfb45fbbebf210173d54e87b62c17ce Mon Sep 17 00:00:00 2001 From: az Date: Wed, 8 May 2024 12:23:37 +0200 Subject: [PATCH] playbook.yml aktualisiert --- playbook.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/playbook.yml b/playbook.yml index c8552ae..5904149 100644 --- a/playbook.yml +++ b/playbook.yml @@ -45,12 +45,14 @@ - name: Allow all access to tcp port 123 ufw: rule: allow - port: '123' + port: '3142' direction: '{{ item }}' with_items: - in - out when: config_ufw + environment: + PATH: /sbin:{{ ansible_env.PATH }} - name: Allow SSH-Access to some servers ufw: @@ -103,7 +105,8 @@ - { direction: 'out', destination: '10.0.2.243/32' } - { direction: 'in', 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 ufw: rule: allow