diff --git a/Config_Wireguard.yml b/Config_Wireguard.yml index 7809c83cb798173b4e90be92268b117e282d9f79..fb472d6f6b4d8095dc3ed2ff8c2495dc99af1336 100644 --- a/Config_Wireguard.yml +++ b/Config_Wireguard.yml @@ -120,7 +120,7 @@ state: restarted enabled: yes -- name: Setup index.html on H2 +- name: Setup wireguard on H1 hosts: H1 become: true tasks: @@ -141,8 +141,7 @@ tasks: - name: Ping form H1 to H2 - ansible.netcommon.net_ping: - dest: 10.0.0.1 + ansible.builtin.shell: "ping 3.0.0.2 -c 1" register: result - name: Print result