I played the scenario showed hereafter based on OpenShift doc [1] to install OSE in a Centos Atomic vm but ansible reports that it can't ssh to 192.168.99.50
The image has been used to create/start a vm in Virtualbox. Then I copy my inventory file to the vm and install "ose-ansible"
2018-03-15 19:31:00,538 p=1 u=root | ok: [localhost] => (item=192.168.99.50)
2018-03-15 19:31:00,550 p=1 u=root | PLAY [Ensure that all non-node hosts are accessible] ***************************
2018-03-15 19:31:00,555 p=1 u=root | TASK [Gathering Facts] *********************************************************
2018-03-15 19:31:01,507 p=1 u=root | fatal: [192.168.99.50]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Warning: Permanently added '192.168.99.50' (ECDSA) to the list of known hosts.\r\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic).\r\n", "unreachable": true}
The ip interface is working
docker0: connected to docker0
"docker0"
bridge, 02:42:E8:E7:32:0A, sw, mtu 1500
enp0s3: connected to System enp0s3
"Intel 82540EM Gigabit Ethernet Controller (PRO/1000 MT Desktop Adapter)"
ethernet (e1000), 08:00:27:DF:CC:E8, hw, mtu 1500
inet6 fe80::a00:27ff:fedf:cce8/64
enp0s8: connected to System enp0s8
"Intel 82540EM Gigabit Ethernet Controller (PRO/1000 MT Desktop Adapter)"
ethernet (e1000), 08:00:27:01:2C:6F, hw, mtu 1500
ip4 default
inet6 fe80::a00:27ff:fe01:2c6f/64
lo: unmanaged
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
and my public key has been imported within the authorized keys
cat /root/.ssh/authorized_keys
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDF....
cat /root/.ssh/known_hosts
192.168.99.50 ecdsa-sha2-nistp256 AAAAE
So, why ansible can't ssh locally ?