We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb634b5 commit 43ea072Copy full SHA for 43ea072
tasks/main.yml
@@ -75,7 +75,7 @@
75
76
77
- name: Generate WireGuard private and public keys
78
- shell: wg genkey | tee /etc/wireguard/privatekey | wg pubkey > /etc/wireguard/publickey | chmod 600 /etc/wireguard/privatekey
+ shell: umask 077 && wg genkey | tee /etc/wireguard/privatekey | wg pubkey > /etc/wireguard/publickey
79
80
81
- name: Register WireGuard private key as a variable
0 commit comments