Permalink
Browse files

don't chk this so it works on cygwin

  • Loading branch information...
majidaldo committed May 21, 2015
1 parent bb81f02 commit cbe17bf90118fa72ae495e4c8e1f7a69d0518b49
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/ansible/runner/connection.py
@@ -45,9 +45,9 @@ def connect(self, host, port, user, password, transport, private_key_file, deleg
if e.errno != errno.ENOENT: # file is missing, might be agent
raise(e)
- if st is not None and st.st_mode & (stat.S_IRGRP | stat.S_IROTH):
- raise AnsibleError("private_key_file (%s) is group-readable or world-readable and thus insecure - "
- "you will probably get an SSH failure"
- % (private_key_file,))
+ #if st is not None and st.st_mode & (stat.S_IRGRP | stat.S_IROTH):
+ # raise AnsibleError("private_key_file (%s) is group-readable or world-readable and thus insecure - "
+ # "you will probably get an SSH failure"
+ # % (private_key_file,))
self.active = conn.connect()
return self.active

0 comments on commit cbe17bf

Please sign in to comment.