Algo fails at [wireguard : Generate public keys] task on aws with the following message:
FAILED! => {"msg": "Unexpected templating type error occurred on (set -o pipefail\n echo \"{{ lookup('file', wireguard_pki_path + '/private/' + item) }}\" |\n wg pubkey): coercing to Unicode: need string or buffer, int found"}
Describe the bug
Algo fails at
[wireguard : Generate public keys]
task on aws with the following message:FAILED! => {"msg": "Unexpected templating type error occurred on (set -o pipefail\n echo \"{{ lookup('file', wireguard_pki_path + '/private/' + item) }}\" |\n wg pubkey): coercing to Unicode: need string or buffer, int found"}
To Reproduce
TASK [wireguard : Generate public keys]
Expected behavior
Wireguard should generate public key and algo should move on to the next task