|
@@ -14,7 +14,10 @@
|
|
|
mode: '0600'
|
|
|
|
|
|
- name: "30: Set VPN configuration variables"
|
|
|
- ansible.builtin.command: "cat {{ /etc/wireguard/privatekey|quote}} "
|
|
|
+ ansible.builtin.command:
|
|
|
+ argv:
|
|
|
+ - "cat"
|
|
|
+ - "/etc/wireguard/privatekey"
|
|
|
register: vpn_private_key_content
|
|
|
|
|
|
- name: "40: Create server configuration file"
|