diff --git a/templates/wg b/templates/wg index 8d6f7aee619e5369852c90b5cfb5b8c672531b09..1bd503d762836b4e104662e1f3ec3a05e0cd9b85 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 6aebfcc07b40af572f3059b4604b4442fb2242bf..b2e0f8316f58ccfead1223131e0bf3ee269ac6c4 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 }}"