Skip to content

Instantly share code, notes, and snippets.

@mrlesmithjr

mrlesmithjr/ssh-hosts.j2

Last active Aug 2, 2017
Embed
What would you like to do?
{% for item in host_keys_hostname['results'] %}
{% for key in item['stdout_lines'] %}
{{ key }}
{% endfor %}
{% endfor %}
{% for item in host_keys_ip['results'] %}
{% for key in item['stdout_lines'] %}
{{ key }}
{% endfor %}
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment