Hello !
Could you please help me how to use Ansible through a Windows Bastion Server? I found docs about Linux Bastion but for Windows it’s not clear.
I have a windows bastion server(1) that allows me to connect to other windows servers(2). and I want to manage those windows server(2).
Is that possible and how to do it please ?
Thanks
I think you need to give a clear description of what you mean by Bastion
Server.
For me it is too general a term to be sure even what you believe the
differences between a Linux one and a Windows one to be.
https://en.wikipedia.org/wiki/Bastion_host
Regards,
Antony.
The description of AWS is exactly what i mean by “bastion server” : a server whose purpose is to provide access to a private network from an external network.
So i have a Ansible server in a “external network” and to manage my windows servers in the private network, I need to go through the bastion (which is a windows server)
Hello,
If bastion host are using winrm I suppose you need to setup a proxy_connection ( on bastion host) to forward requests to the windows hosts in the private network
On bastion linux you can do this using nginx but I don’t know how to achive the same result on windows bastion