Hi,
Its my first hour with Ansible, and from what I have read on the
website I'm pretty psyched about it. I'm running on OS X 10.7. I
managing a new network of about 150 CentOS 5.7-6 hosts, and they need
a lot of work. I have worked out a couple of Python issues on my
machine and can run the ansible application without (I think) issue.
We have a weird config on the servers, this isn't something I have
done. The person who administered these machines in the past setup a
fake kind of sudo, because they reaally didn't understand securing
Linux. Essentially they changed all the permissions on binarys on the
box. In the interest of full disclosure I mention in case it would
cause the problem I'm having. I would like to use ansible to start to
secure these machines and deploy config files for sshd etc.
Here is the output from where I'm stuck. I'm running Python 2.7, is that okay?
sheepchase:paramiko-1.7.7.1 jmarcus$ ssh-agent bash
bash-3.2$ ssh-add ~/.ssh/id_dsa
Enter passphrase for /Users/jmarcus/.ssh/id_dsa:
Identity added: /Users/jmarcus/.ssh/id_dsa (/Users/jmarcus/.ssh/id_dsa)
bash-3.2$ ansible all -m ping
10.54.244.179 | FAILED => FAILED: Private key file is encrypted
10.54.244.177 | FAILED => FAILED: Private key file is encrypted
10.54.244.178 | FAILED => FAILED: Private key file is encrypted
10.54.244.143 | FAILED => FAILED: Private key file is encrypted
10.54.244.157 | FAILED => FAILED: Private key file is encrypted
10.54.244.155 | FAILED => FAILED: Private key file is encrypted
bash-3.2$ ansible all -a "/bin/echo hello"
10.54.244.179 | FAILED => FAILED: Private key file is encrypted
10.54.244.143 | FAILED => FAILED: Private key file is encrypted
10.54.244.177 | FAILED => FAILED: Private key file is encrypted
10.54.244.157 | FAILED => FAILED: Private key file is encrypted
10.54.244.178 | FAILED => FAILED: Private key file is encrypted
10.54.244.155 | FAILED => FAILED: Private key file is encrypted
Is this issue a red herring because of the permissions issue or is
there really a private key issue?
Thanks,
James