如何使用AnsibleconfigurationJump Windows Server

如何在使用ANSIBLE的Windows服务器环境中configuration一个跳转服务器?

我在文档中find了Linux的一个例子: http : //docs.ansible.com/ansible/faq.html#how-do-i-configure-a-jump-host-to-access-servers-that-i-有-无直接访问到

但是不适用于Windows Server

提前致谢,
@pcamacho

您可以通过代理(例如nginx)发送winrmstream量,因为它只是基本的httpsstream量。 如果您在nginxconfiguration中为每个“目标节点”设置规则,以便每个节点获取唯一的url(proxy.domain.com/node1,proxy.domain.com/node2等),并且每个节点都指向real.fqdn。 com / wsman)你将能够通过一个跳转主机代理多个winrm连接。 这在以下PR中讨论过: https : //github.com/ansible/ansible/pull/12054