From 3bf830713f95c89caf736fa144f90ba7b6b8147a Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 23 May 2020 17:16:25 +0200 Subject: don't retrieve wireguard privkeys in ansible --- ansible/roles/network/tasks/main.yml | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ansible/roles/network/tasks') diff --git a/ansible/roles/network/tasks/main.yml b/ansible/roles/network/tasks/main.yml index 59f1d71..28104d0 100644 --- a/ansible/roles/network/tasks/main.yml +++ b/ansible/roles/network/tasks/main.yml @@ -43,10 +43,6 @@ - name: "Secure wireguard private key" file: path=/etc/wireguard/privkey mode=0600 -- name: "Retrieve wireguard private key" - shell: cat /etc/wireguard/privkey - register: wireguard_privkey - - name: "Retrieve wireguard public key" shell: wg pubkey < /etc/wireguard/privkey register: wireguard_pubkey -- cgit v1.2.3