-
Story
-
Resolution: Not a Bug
-
Minor
-
DO457 - RHAE2.5 1 20180720
-
None
-
1
-
VT
-
en-US (English)
URL:
Reporter RHNID: marc_kesler
Section: 5.1 - GUIDED EXERCISE 1.4 Configuring Ansible
Language: en-US (English)
Workaround: The issue is that the keys for hosts in the network group are missing from the /home/student/.ssh/known_hosts file. It's entirely possible I missed a step that addresses this. However, if I found it, a student might too. Your choices are to update the known_hosts file (ssh into each host) or add the following to ~/group_vars/network:
ansible_ssh_common_args: '-o StrictHostKeyChecking=no'
Description: On step 5.1, when running:
ansible -m debug -a "var=ansible_user" vyos
I get the following for all hosts in the vyos group:
spine02 | FAILED! => {
"msg": "paramiko: The authenticity of host 'spine02' can't be established".\nThe ssh-rsa key fingerprint is ..."}