This file contains hidden or 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: Gather facts from 'all' hosts in inventory | |
hosts: all | |
vars: | |
ansible_host_key_checking: false | |
ansible_ssh_extra_args: '-o UserKnownHostsFile=/dev/null' | |
tasks: | |
- setup: | |
gather_subset: network | |
- name: Add public keys to known_hosts file |