Open Ofthestreet opened 3 years ago
Check mode was never tested while implementing the role, so I'm not sure if this would be the only issue? I expect that anything with ssh keys involved will fail if the key is not generated, so it probably doesn't make sense to implement check mode then?
In borg-client.yml, running the playbook in check mode is not possible since
sshkey
is undefined in the following taskI would suggest to add a
check_mode: no
when fetching the ssh-key in order to validate the usage ofsshkey.stdout
Note : As I am not a old ansible coder feel free to indicate why this is not already the case