aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/network/tasks
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-05-23 17:16:25 +0200
committerAlex Auvolat <alex@adnab.me>2020-07-15 16:03:51 +0200
commit3bf830713f95c89caf736fa144f90ba7b6b8147a (patch)
tree7d6ba4146c3dba9cbc1a144097ac6100fcac2f67 /ansible/roles/network/tasks
parent207d1fa278bc1cb9e8600779287abaffe2ef7746 (diff)
downloadinfrastructure-3bf830713f95c89caf736fa144f90ba7b6b8147a.tar.gz
infrastructure-3bf830713f95c89caf736fa144f90ba7b6b8147a.zip
don't retrieve wireguard privkeys in ansible
Diffstat (limited to 'ansible/roles/network/tasks')
-rw-r--r--ansible/roles/network/tasks/main.yml4
1 files changed, 0 insertions, 4 deletions
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