mirror of https://github.com/ansible/ansible.git
Error if private_key_file is group/world readable
Currently, if you have this, ansible fails with a generic error and suggests running again with `-vvvv`. This isn't bad but pinpointing the specific problem immediately is even more user-friendly. ``` $ ls -l devops.pem -rw-r--r--+ 1 marca staff 1679 Jul 2 11:25 devops.pem $ ansible -m ping --private-key=devops.pem mt3-pyweb01 mt3-pyweb01 | FAILED => private_key_file (devops.pem) is group-readable or world-readable and thus insecure - you will probably get an SSH failure ```pull/8020/head
parent
14cf3c4d2a
commit
5b783e0bc6
Loading…
Reference in New Issue