ansible to SSH to a remote host sits behind a web proxy

Hi,

I can access a host only through a web proxy using the host’s pubic ip adress. How to run tasks against that server.

ansible controller node name : AnsibleHost
remote server name : remotehost
webproxy: proxy.com:8080

I can connect to remotehost from AnsibleHost through this web proxy only. how to configure it in inventory. Please help