Hi, On 09.12.2014 15:23, Brian Coca wrote: > I normally used a bastion/jumphost to do ssh, which works with ansible.
Out of curiosity: What is the simplest way to setup an Ansible-usable ssh connection through a jumphost? For our first tests with Ansible we defined hosts in a local ssh_config in the following way (jailhost was the FreeBSD server running in a VirtualBox and to get things running quickly we allowed and used direct root login): Host jailname HostName 10.0.0.1 ProxyCommand=ssh -F ./ssh_config jailhost -W %h:%p > In any case, your sshjails connection plugin sounds like it already > takes care of most issues better than adding --jails options to other > modules. I totally agree that it would be a bad idea to have a jails option to every module I use to do something in a jail. My pkgng pull request [1] contains some non-jail related cleanup and some minor bugfixes for the annotation related parts. I could make a new pull request for that if there is any interest. David [1] https://github.com/ansible/ansible-modules-extras/pull/131 -- 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/5487234A.8020705%40mvua.de. For more options, visit https://groups.google.com/d/optout.
