If server does not have public key the test will fail.
TASK [standard-test-rhts : Create root SSH directory] ************************************************************************************************************************************************************* ok: [localhost] TASK [standard-test-rhts : Create root SSH key pair] ************************************************************************************************************************************************************** ok: [localhost] TASK [standard-test-rhts : Procure root public key] *************************************************************************************************************************************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "cat /root/.ssh/id_rsa.pub", "delta": "0:00:00.002706", "end": "2018-03-12 08:22:26.875537", "msg": "non-zero return code", "rc": 1, "start": "2018-03-12 08:22:26.872831", "stderr": "cat: /root/.ssh/id_rsa.pub: No such file or directory", "stderr_lines": ["cat: /root/.ssh/id_rsa.pub: No such file or directory"], "stdout": "", "stdout_lines": []} to retry, use: --limit @/root/standard-test-roles/tests/tests.retry PLAY RECAP ******************************************************************************************************************************************************************************************************** localhost : ok=127 changed=70 unreachable=0 failed=1
# ls /root/.ssh/ authorized_keys config id_rsa known_hosts
Solved in #141
Metadata Update from @astepano: - Issue close_status updated to: SOLVED - Issue status updated to: Closed (was: Open)