fix slurp
This commit is contained in:
parent
57127b31ce
commit
0b066d02c5
1 changed files with 5 additions and 1 deletions
|
@ -9,7 +9,11 @@
|
||||||
- name: Register private key
|
- name: Register private key
|
||||||
slurp:
|
slurp:
|
||||||
src: /etc/wireguard/privatekey
|
src: /etc/wireguard/privatekey
|
||||||
register: private_key
|
register: private_key_slurp
|
||||||
|
|
||||||
|
- name: Set private key variable
|
||||||
|
set_facts:
|
||||||
|
private_key: "{{ private_key_slurp.content }}"
|
||||||
|
|
||||||
- name: Ensure Wireguard client is configure
|
- name: Ensure Wireguard client is configure
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue