Description of problem: When there was no ssh connection, and host is not saved in .ssh/known_hosts ansible playbook becomes interactive and need yes to add ECDSA key fingerprint. Not sure how I got to the state that host wasn't in the .ssh/known_hosts, but it was quite fresh engine upgraded from older 4.1.0 version. For reproducer you just need to remove the host from it. Version-Release number of selected component (if applicable): ovirt-engine-metrics-1.0.1-1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. remove Host from .ssh/known_hosts 2. run /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_hosts_for_metrics.sh Actual results: Ansible playbook waits for yest input on adding host to known Expected results: Should add unrecognized hosts automatically Additional info: [root ~]# /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_hosts_for_metrics.sh PLAY [Get ca cert from local file] ********************************************* TASK [setup] ******************************************************************* The authenticity of host 'ip.me (ip.me)' can't be established. ECDSA key fingerprint is 8c:e0:7a:fb:1a:e3:a1:b5:87:80:aa:40:0c:00:00:b9. Are you sure you want to continue connecting (yes/no)? yes ok: [ip.me]
Filed bug 1467898 so that we try to find a better solution, as I do not like current. But could not find something simple and better.
verified in ovirt-engine-metrics-1.0.5-1.el7ev.noarch