WARNING WARNING WARNING: This is the Digital Rebar v2 product documentation. The v2 version is EOL as of September 2017. Please refer to the new Digital Rebar Provision v3 documentation:

9.21. Ansible Run Fails with Login Issue?ΒΆ

Background: Digital Rebar uses root login for control. On some clouds (e.g. AWS), permission to use root must be added from another credential set. This is done automatically by Digital Rebar using the existing key(s) on the system and name matches the local and remote keys.

Issue: The local private and remote public key do not match.

Typical Error Message

fatal: [] => failed to transfer file to Please login as the user "centos" rather than the user "root"./setup:
Received message too long 1349281121

Resolution: Delete the remote key from the cloud system (typically named after the host system name). Digital Rebar will upload a fresh public key.