ssh_args as group_vars?

51 views
Skip to first unread message

Tobias Wolter

unread,
Apr 1, 2014, 9:13:12 PM4/1/14
to ansible...@googlegroups.com
Hey there,

does someone know if it's possible to define ssh_args as a group_var or something similar?

The issue I'm currently facing is that I want to selectively enable SSH agent forwarding,
without maintaining any alternate configuration file overhead.
(i.e. goal is "just works, no thinking necessary")

Ideal for me would be to just use a group_var, maybe ansible_ssh_args, to forward the agent,
 but so far I haven't found anything along those lines.

Does anybody have an idea, or do I need to open a feature request for this?

-towo

Michael DeHaan

unread,
Apr 2, 2014, 4:05:39 PM4/2/14
to ansible...@googlegroups.com
-c ssh will read options from your SSH config so that may be an option.

It is not possible to set at group variable level presently, though patches for this would probably be considered*

* = but probably not actively worked on, given the above solution is possible.




--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/966079f6-23b0-4083-b5af-a1bd5fddba91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages