Created
March 2, 2018 14:00
-
-
Save xakrume/349a1b49c076a3b3443a2a034631d335 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: "Manage SSH known_hosts file" | |
command: "/usr/bin/ssh-keyscan -t ecdsa {{ item.ssh_config_vars.0.hostname }}" | |
with_items: | |
- "{{ grafana_indirect_maps }}" | |
register: command_result | |
- local_action: copy content="{{ command_result.stdout }}" dest=/tmp/test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment