Skip to content
Snippets Groups Projects
Commit 0898ac66 authored by antoine.blancy's avatar antoine.blancy
Browse files

a

parent 320cd8e6
No related branches found
No related tags found
1 merge request!1TP3
Pipeline #18193 failed
......@@ -7,7 +7,10 @@
shell:
cmd: umask 077
shell:
chdir: /etc/wireguard
creates: /etc/wireguard/publickey
cmd: wg genkey | tee privatekey | wg pubkey > publickey
become: yes
- name: key-get
command: cat publickey
......
[Interface]
Address = {{ myAddr }}
PostUp = wg set %i private-key /home/gitlab-runner/privatekey
PostUp = wg set %i private-key /etc/wireguard/privatekey
ListenPort = 51902
[Peer]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment