Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encrypted keys in key storage #62

Closed
lwhitworth opened this issue Sep 20, 2016 · 3 comments
Closed

Encrypted keys in key storage #62

lwhitworth opened this issue Sep 20, 2016 · 3 comments

Comments

@lwhitworth
Copy link

I have my private key in "Key Storage" in Rundeck, and Rundeck itself is configured to use encryption as per http://rundeck.org/docs/plugins-user-guide/bundled-plugins.html#jasypt-encryption-plugin. This means there's no unencrypted copy of the private key on the host for Ansible to be pointed to for SSH authentication.

Is there any way at all that this plugin can bridge that gap? I've read the docs and given it a go, but it is failing to connect via ssh:
"fatal: [hostname.domain.com]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh.", "unreachable": true}"
And (rightly so) running "su rundeck -s /bin/bash -c "ansible all -m ping"" fails as I'd expect.

@yassineazzouz
Copy link
Contributor

Hi @lwhitworth , Are you using --private-key parameter in your job configuration arguments ?

@yassineazzouz
Copy link
Contributor

Hi @lwhitworth ,

This should be fixed in release 2.0.0

Thanks,

@lwhitworth
Copy link
Author

lwhitworth commented Oct 18, 2016

Sorry, just seen your comments. Apologies for not replying. Many thanks for fixing, appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants