From d60dcb613bd54997e2e0ea8eff6747166366e941 Mon Sep 17 00:00:00 2001 From: gadmin Date: Tue, 30 Mar 2021 15:50:11 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'roles/firewall-vpn?= =?UTF-8?q?-r/tasks/main.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/firewall-vpn-r/tasks/main.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/roles/firewall-vpn-r/tasks/main.yml b/roles/firewall-vpn-r/tasks/main.yml index 7d85a62..910d285 100644 --- a/roles/firewall-vpn-r/tasks/main.yml +++ b/roles/firewall-vpn-r/tasks/main.yml @@ -1,14 +1,8 @@ --- - - name: redemarrer interfaces - command: ifdown enp0s8 - - name: redemarrer interfaces - command: ifup enp0s8 - - name: redemarrer interfaces - command: ifdown enp0s9 - - name: redemarrer interfaces - command: ifup enp0s9 - - name: redemarrer interfaces - apt: name=ferm state=present + - name: Install ferm + apt: + name: ferm + - name: fichier parefeu pour VPN copy: src=ferm.conf dest=/etc/ferm/ferm.conf notify: