e748a8a56b
We're now evaluating the condition whether or not to run this role at the playbook level instead since there are different roles using this same condition. Change-Id: I99738c7e98133838f989ed369a09ecb6a7b64054
10 lines
276 B
YAML
10 lines
276 B
YAML
- name: Get known_hosts facts
|
|
generate_all_known_hosts:
|
|
hostvars: "{{ hostvars }}"
|
|
|
|
- name: add known_host record for every public key of every other ip, hostname
|
|
known_hosts:
|
|
name: "{{ item.name }}"
|
|
key: "{{ item.key }}"
|
|
with_items: "{{ all_known_hosts }}"
|