Re: [ansible-project] problem with ansible bastion hosts /playbook connectivity

2014-07-10 Thread Simon Tyler
Hi Henry, Thank you so much for such quick responses! I have not used git much, here is what I did: -browsed to https://github.com/hfinucane/ansible/blob/feature/paramiko-safety/plugins/inventory/ssh_config.py -cut and paste the script into

Re: [ansible-project] problem with ansible bastion hosts /playbook connectivity

2014-07-10 Thread Henry Finucane
I talked to Simon a little bit out of band, it looks like the problem is his version of Paramiko- it predates both the initial and the working ProxyCommand implementation. You need Paramiko = 1.10 for parsing support, and if you want to use Paramiko as a transport you want = 1.10.6 . On Thu, Jul

Re: [ansible-project] problem with ansible bastion hosts /playbook connectivity

2014-07-09 Thread Henry Finucane
On Jul 9, 2014 6:48 AM, Simon Tyler simon.systems.supp...@gmail.com wrote: ok i havent used Ansible before. Are you saying I don't have to pass any switch to use SSH; it uses Paramiko and if it doesn't find a hostname, it tries ssh config? it just keeps giving me the errorNo hosts matched,

Re: [ansible-project] problem with ansible bastion hosts /playbook connectivity

2014-07-09 Thread Henry Finucane
Ansible only wants to talk to hosts in its inventory. If you want your inventory to be your ssh config file, there is a dynamic inventory script called 'ssh_config.py' that ships with ansible that will do that for you. On Jul 9, 2014 7:56 AM, Simon Tyler simon.systems.supp...@gmail.com wrote: ok

Re: [ansible-project] problem with ansible bastion hosts /playbook connectivity

2014-07-09 Thread Simon Tyler
Hi Henry, I am most definitely stupider than normal; I blame a recent pigeon infestation and the resulting lack of sleep. I did not find that script on my system, so I downloaded it from here https://github.com/ansible/ansible/blob/release1.6.2/plugins/inventory/ssh_config.py. It appears to

Re: [ansible-project] problem with ansible bastion hosts /playbook connectivity

2014-07-09 Thread Henry Finucane
On Wed, Jul 9, 2014 at 10:56 AM, Simon Tyler simon.systems.supp...@gmail.com wrote: Hi Henry, I am most definitely stupider than normal; I blame a recent pigeon infestation and the resulting lack of sleep. I did not find that script on my system, so I downloaded it from here

[ansible-project] problem with ansible bastion hosts /playbook connectivity

2014-07-08 Thread Simon Tyler
Hello, I was running an older version of ansible, and I couldn't find a way to get it to connect through a bastion host to run scripts against a destination server, so I tried upgrading ansible. (yum upgrade to 1.6.2) Now it appears that some things don't work the way they did eg. it doesn't

Re: [ansible-project] problem with ansible bastion hosts /playbook connectivity

2014-07-08 Thread Brian Coca
The $ variables have been dropped from current ansible, they have been deprecated for a loong time. The new way to do the host variables would be writing plays like this: hosts: {{server_name}} and pass on the command line as before, there is some more advanced stuff you can do now, like using