diff --git a/roles/wg/tasks/generate_keypair.yml b/roles/wg/tasks/generate_keypair.yml index 8103f16..ef409f2 100644 --- a/roles/wg/tasks/generate_keypair.yml +++ b/roles/wg/tasks/generate_keypair.yml @@ -16,5 +16,5 @@ - name: Set key/pair facts ansible.builtin.set_fact: - wg_private_key: _generated_private_key.stdout - wg_public_key: _derived_public_key.stdout + wg_private_key: "{{ _generated_private_key.stdout }}" + wg_public_key: "{{ _derived_public_key.stdout }}"