Ansible 1.6.1
I'm trying to set things up so that I can specify a bastion host as a
gateway
to my other machines.
I'd like Ansible to use an SSH config file that I keep in git.
So, I have a file named "sshconfig" with:
Host *
ServerAliveInterval 60
TCPKeepAlive yes
ProxyCommand ssh 55.232.102.151 'nc %h %p'
ControlMaster auto
Where 55.232.102.151 is the bastion IP address.
My ansible.cfg file looks like:
[defaults]
transport = ssh
ssh_args = -F sshconfig -o ControlPersist=15m
If I run "ssh -F sshconfig [email protected]" it uses the bastion server as
expected.
But Ansible doesn't ever seem to use my "sshconfig" file (I don't see
anything about
it in the verbose output, nor the bastion IP address). '
Does ssh_args actually permit "-F sshconfig" or does it only allow "-o
param=something" options?
J
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/25b6293f-28b7-4e45-9f52-0cf4b53383f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.