From ea15919aebb3ddf686d595f5b2a0d495d947822a Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Thu, 6 Apr 2023 20:38:48 +0300 Subject: [PATCH] fix escaped --- tasks/configure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure.yml b/tasks/configure.yml index 82baa8d..d4d2f0c 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -46,7 +46,7 @@ path: "/var/lib/from_repos/wireguard_peers/{{ interface_name }}/{{ inventory_hostname }}.conf" section: Peer option: PublicKey - value: "{{ public_key | replace('\n', '')}}" + value: "{{ public_key | replace('\\n', '')}}" create: true - name: Set allowed IPs to peer conf file