diff --git a/lib/ansible/modules/cloud/docker/docker_image.py b/lib/ansible/modules/cloud/docker/docker_image.py index 3807c963de1..327349dc683 100644 --- a/lib/ansible/modules/cloud/docker/docker_image.py +++ b/lib/ansible/modules/cloud/docker/docker_image.py @@ -421,10 +421,10 @@ def main(): # If the above is true it's likely the hostname does not match else: environment_error = ''' - You may need to ignore hostname missmatches by passing - -e 'host_key_checking=False' through the command line. - If this does not resolve the issue please open an issue - at ansible/ansible-modules-core and ping michaeljs1990 + You may need to ignore hostname missmatches by setting + tls_hostname=boot2docker in your role. If this does not + resolve the issue please open an issue at + ansible/ansible-modules-core and ping michaeljs1990 ''' module.exit_json(failed=True, chaged=manager.has_changed(), msg="SSLError: " + str(e) + environment_error) # General error for non darwin users