When you use ed25519 key saved in internal keystore, ansible fails to load it (due to bug described in here https://github.com/ansible/awx/issues/9082) . Keystore also trims all whitespaces from private keys.
It's easily replicable by setting custom key path in OS, e.g. /home/rundeck/.ssh/tmpkey
https://github.com/rundeck-plugins/ansible-plugin/blob/ca99ed73691b883441d1fe64401e572665e7b20a/src/main/groovy/com/rundeck/plugins/ansible/ansible/AnsibleRunner.java#L452
When you use
ed25519
key saved in internal keystore, ansible fails to load it (due to bug described in here https://github.com/ansible/awx/issues/9082) . Keystore also trims all whitespaces from private keys.It's easily replicable by setting custom key path in OS, e.g.
/home/rundeck/.ssh/tmpkey
Failed job shows:
and by simply adding newline issue goes away.
job result
But we would like to use keystore and not have keys lying around the machine for longer than necessary.