ansible and windows bastion server

27 views
Skip to first unread message

steveni...@hotmail.fr

unread,
Sep 22, 2020, 11:06:54 AM9/22/20
to Ansible Project
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
 

Antony Stone

unread,
Sep 22, 2020, 11:20:46 AM9/22/20
to ansible...@googlegroups.com
On Tuesday 22 September 2020 at 17:06:54, steveni...@hotmail.fr wrote:

> 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 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.

--
This space intentionally has nothing but text explaining why this space has
nothing but text explaining that this space would otherwise have been left
blank, and would otherwise have been left blank.

Please reply to the list;
please *don't* CC me.

steveni...@hotmail.fr

unread,
Sep 22, 2020, 11:31:45 AM9/22/20
to Ansible Project
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)

Mauro Ferrigno

unread,
Sep 22, 2020, 3:05:00 PM9/22/20
to ansible...@googlegroups.com
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 

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/7b0ff0a1-d239-4159-98e1-68f604caaac6n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages