ansible_ssh_common_args was introduced for 2.0 and does not exist in 1.9.4.

On Wednesday, December 9, 2015, pixel fairy <[email protected]> wrote:

> ansible 1.9.4 from pip on os x.
>
> make an lxc host with no other purpose. all the containers are behind nat,
> so cant directly ssh to them, but i can ssh to the physical host.
>
> this works, ssh n.n.n.n -o "ProxyCommand ssh lxctest -W %h:%p"
>
> and so does ssh n.n.n.n -F sshoptions, which looks like this,
> Host *
>   User root
>   ProxyCommand ssh lxctest -W %h:%p
>
>
> how do you get that into the inventory? i tried group_vars/containers
>
> ---
> ansible_ssh_common_args: -F sshoptions
>
>
> and directly in the hosts file, but ssh keeps timing out. heres one
> example,
>
> [containers]
> myct ansible_ssh_host=N.N.N.N ansible_ssh_extra_args="-o 'ProxyCommand
> ssh lxctest -W %h:%p'"
>
> has anyone gotten this to work?
>
> --
> 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]
> <javascript:_e(%7B%7D,'cvml','ansible-project%[email protected]');>
> .
> To post to this group, send email to [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/6221da3a-2939-400f-b7fe-b9b0c7853ab8%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/6221da3a-2939-400f-b7fe-b9b0c7853ab8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Matt Martz
@sivel
sivel.net

-- 
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/CAD8N0v_r3aBOM-DDh9PecBYpYN-s7bDSPkUxA3xxg3hXMhZU5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to