Hello Folks,


I am trying to execute a playbook from the control machine in the internal 
network to a VM located in the DMZ as shown in the diagram below



<https://lh3.googleusercontent.com/-cLFiXDZUxPA/VjgEzhdtK_I/AAAAAAAAACY/fYFpZ0-6bgw/s1600/ansible-dmz.jpg>



Access to the DMZ server is typically via a http proxy. I setup corkscrew 
to tunnel ssh over http and setup the configuration file as

~/.ssh/config

Host Target.Server.VM.IP
  ProxyCommand /usr/local/bin/corkscrew HTTP.Proxy.Server.IP 80 %h %p


using this setting, I am manually able to ssh from the Control Machine to 
the Target VM directly.

However when the playbook executes it does not seem to read this config 
file and attempts a direct connection from the control server machine to 
the target VM in the DMZ. Both the playbook execution and the manual ssh 
connection are being executed under the same linux OS user 

Can you please let me know if I am missing something at my end. 

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/57476992-1ace-434f-a5b8-626400d44251%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to