fix(wg): correctly template facts
When setting facts to outputs of some other tasks or variables, they need to be correctly templated and quoted, otherwise they're taken as is, i.e., as text. Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
da9662533a
commit
4960068555
1 changed files with 2 additions and 2 deletions
|
@ -16,5 +16,5 @@
|
||||||
|
|
||||||
- name: Set key/pair facts
|
- name: Set key/pair facts
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
wg_private_key: _generated_private_key.stdout
|
wg_private_key: "{{ _generated_private_key.stdout }}"
|
||||||
wg_public_key: _derived_public_key.stdout
|
wg_public_key: "{{ _derived_public_key.stdout }}"
|
||||||
|
|
Loading…
Reference in a new issue