Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

GlobalKnownHostsFile missing from ssh_config #155

Closed
jcheroske opened this issue Apr 4, 2018 · 2 comments
Closed

GlobalKnownHostsFile missing from ssh_config #155

jcheroske opened this issue Apr 4, 2018 · 2 comments

Comments

@jcheroske
Copy link
Contributor

It would be great if this role took in a list variable containing host keys and constructed the /etc/ssh/known_hosts file. The GlobalKnownHostsFile configuration parameter would also need to be set in ssh_config.

Thank you for an awesome tool!

@rndmh3ro
Copy link
Member

rndmh3ro commented Apr 9, 2018

Hey @jcheroske,

do you want to work on this? It should work something like this:

{% for file in ssh_globalknownhostsfile -%}
GlobalKnownHostsFile {{ file | join(' ') }}
{% endfor -%}

@jcheroske
Copy link
Contributor Author

Sorry for the late reply. This feature is no longer a priority for me. I'm going to close this issue.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

2 participants