From a6893d83cd97ce15c8883fced4cb0e2f2e019b91 Mon Sep 17 00:00:00 2001 From: poulpe <poulpe@localhost.localdomain> Date: Sat, 8 Apr 2023 23:34:07 +0200 Subject: [PATCH] [Update] Fix install program --- Config_Wireguard.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Config_Wireguard.yml b/Config_Wireguard.yml index fb472d6..94db764 100644 --- a/Config_Wireguard.yml +++ b/Config_Wireguard.yml @@ -70,20 +70,18 @@ update_cache: yes # check_mode: yes - - name: Install nginx and Wireguard + - name: Install nginx ansible.builtin.apt: pkg: - nginx - wireguard - wireguard-tools - - iptables - curl state: present - # check_mode: yes + - name: Remove internet to host ansible.builtin.shell: cmd: "ip r del default" - # check_mode: yes - name: Setup index.html on H2 hosts: H2 @@ -156,6 +154,4 @@ - name: Print result debug: msg: "{{ result.stdout_lines }}" - - ... \ No newline at end of file -- GitLab