I am totally new to ansible and learning on it I want to setup a connection to a windows server which is a a kind of bastion server and from there establish a connection to a linux server in private subnet (both the servers are in aws) can anyone please help me to write the ansible playbook for this and also brief me about the steps
If my assumption is correct, you would need a Linux system (native, as a VM on you Windows machine or using WSL). Alternatively, you could try and use your Windows system to proxy WinRM traffic. I’ve found this and this blog post which might help you.