How to use ansible under a proxy machine

时间:2015-06-15 14:46:04

标签: ansible

we use proxy machine in accessing the production servers. However, i can not get around proxy machine using ssh proxy.

So, can someone tell me how to do ssh proxy configuration when used with ansible.

1 个答案:

答案 0 :(得分:1)

AFAIK,使用或不使用ansible设置代理应该没有区别。您可以使用ProxyCommand在.ssh / config文件中设置SSH代理,并运行应该遵守代理设置的ansible命令。