From e88b2cf8d78a05a3b5c56e872f044d5fa662eea0 Mon Sep 17 00:00:00 2001 From: Virgile Retault Date: Thu, 21 Jul 2022 19:05:12 +0200 Subject: [PATCH] fixed vpn config --- host_vars/hindley/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host_vars/hindley/main.yml b/host_vars/hindley/main.yml index 71da82a..783c65f 100644 --- a/host_vars/hindley/main.yml +++ b/host_vars/hindley/main.yml @@ -44,7 +44,7 @@ vpn_interfaces: allowed_ips: - "{{ hostvars['sulfur'].vpn_interfaces.wg0.ip }}/32" comment: "matrix VM, hosted on g33kex's server" - - public_key: "{{ hostvars['technetium'].vpn_interfaces.wg0.ip }}/32" + - public_key: "{{ hostvars['technetium'].vpn_interfaces.wg0.public_key }}" allowed_ips: - "{{ hostvars['technetium'].vpn_interfaces.wg0.ip }}/32" comment: "test VM"