Improve Message

Give user a course of action in the case where the suggestions do not
work. This will hopefully allow us to work through any further issues
much faster.
This commit is contained in:
Michael Schuett 2015-07-01 19:43:26 -04:00 committed by Matt Clay
parent 53294dbaaa
commit 8d1f8dacba

View file

@ -388,6 +388,8 @@ def main():
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
'''
module.exit_json(failed=True, chaged=manager.has_changed(), msg="SSLError: " + str(e) + environment_error)
# General error for non darwin users