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
|
||||
slurp:
|
||||
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
|
||||
template:
|
||||
|
|
Loading…
Reference in a new issue