From 3c356cfcbdaadf55e9f7a1edf68013fd7fd45c3a Mon Sep 17 00:00:00 2001
From: Antwan <antoine.blancy@etu.hesge.ch>
Date: Tue, 12 Apr 2022 00:08:07 +0200
Subject: [PATCH] a

---
 templates/wg | 2 --
 wg.yml       | 2 --
 2 files changed, 4 deletions(-)

diff --git a/templates/wg b/templates/wg
index 8d6f7ae..1bd503d 100644
--- a/templates/wg
+++ b/templates/wg
@@ -7,5 +7,3 @@ ListenPort = 51902
 PublicKey = {{ publickey }}
 Endpoint = {{ dst }}:51902
 AllowedIPs = 10.0.0.0/24
-
-{{ varsi }}
\ No newline at end of file
diff --git a/wg.yml b/wg.yml
index 6aebfcc..b2e0f83 100644
--- a/wg.yml
+++ b/wg.yml
@@ -6,7 +6,6 @@
         publickey: "{{ hostvars['h2'].publickey }}"
         myAddr: 10.0.0.10
         dst: 10.0.3.2
-        varsi: "{{ hostvars }}"
 
 - name: h2_key_set
   hosts: h1
@@ -16,5 +15,4 @@
         publickey: "{{ hostvars['h1'].publickey }}"
         myAddr: 10.0.0.20
         dst: 10.0.1.2
-        varsi: "{{ hostvars }}"
 
-- 
GitLab