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
Host Target.Server.VM.IP
ProxyCommand /usr/local/bin/corkscrew HTTP.Proxy.Server.IP 80 %h %p
-bash-4.1$ export ANSIBLE_SSH_ARGS="-F /var/lib/awx/.ssh/config" ; ansible-playbook -i /opt/ansiblework/inventory/dmzhosts helloworld.yml -u webuser --ask-pass -vvvv
SSH password:
PLAY [Hello World!] ***********************************************************
GATHERING FACTS ***************************************************************
<Target.Server.VM.IP> ESTABLISH CONNECTION FOR USER: webuser on PORT 22 TO Target.Server.VM.IP
fatal: [Target.Server.VM.IP] => {'msg': 'FAILED: [Errno 111] Connection refused', 'failed': True}
TASK: [Hello World!] **********************************************************
FATAL: no hosts matched or all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/var/lib/awx/helloworld.retry
Target.Server.VM.IP : ok=0 changed=0 unreachable=1 failed=0
--
Brian Coca
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/lgz7zOzMRRM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJ5XC8%3Derofgr4Z_Li5riZ2D_JVU861SxQzZo6DLE_N%3DQ50B2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.