Hi Jordan,

Executed with -vvvvv..please check the below output:

$ ansible win_prod -i /tmp/winhosts.yml -m win_ping -k -vvvvv
 [WARNING] Ansible is in a world writable directory (/tmp), ignoring it as 
an ansible.cfg source.
ansible 2.6.1
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/uyerra/.ansible/plugins/modules', 
'/usr/share/ansible/plugins/modules']
  ansible python module location = 
/usr/local/lib/python3.6/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.6.4 (default, Jul 10 2018, 11:29:28) [GCC 4.4.7 
20120313 (Red Hat 4.4.7-16)]
Using /etc/ansible/ansible.cfg as config file
SSH password:
setting up inventory plugins
Parsed /tmp/winhosts.yml inventory source with ini plugin
Loading callback plugin minimal of type stdout, v2.0 from 
/usr/local/lib/python3.6/site-packages/ansible/plugins/callback/minimal.py
Loading callback plugin profile_tasks of type aggregate, v2.0 from 
/usr/local/lib/python3.6/site-packages/ansible/plugins/callback/profile_tasks.py
META: ran handlers
Tuesday 18 September 2018  09:50:30 +0200 (0:00:00.053)       0:00:00.053 
*****
Using module file 
/usr/local/lib/python3.6/site-packages/ansible/modules/windows/win_ping.ps1
<abcd.xxx.com> ESTABLISH WINRM CONNECTION FOR USER: u...@xxx.com on PORT 
5986 TO abcd.xxx.com
checking if winrm_host abcd.xxx.com is an IPv6 address
<abcd.xxx.com> WINRM CONNECT: transport=ntlm 
endpoint=https://abcd.xxx.com:5986/wsman
<abcd.xxx.com> WINRM OPEN SHELL: 6C0BD575-66ED-4E41-A232-740078229E47
EXEC (via pipeline wrapper)
<abcd.xxx.com> WINRM EXEC 'PowerShell' ['-NoProfile', '-NonInteractive', 
'-ExecutionPolicy', 'Unrestricted', '-']
<abcd.xxx.com> WINRM RESULT '<Response code 1, out "", err "An error 
occurred wh">'
<abcd.xxx.com> WINRM CLOSE SHELL: 6C0BD575-66ED-4E41-A232-740078229E47
abcd.xxx.com | FAILED! => {
    "changed": false,
    "module_stderr": "An error occurred while creating the pipeline.\r\n",
    "module_stdout": "",
    "msg": "MODULE FAILURE",
    "rc": 1
}
Tuesday 18 September 2018  09:50:32 +0200 (0:00:01.632)       0:00:01.685 
*****
===============================================================================
win_ping 

On Tuesday, September 18, 2018 at 2:01:54 AM UTC+5:30, Jordan Borean wrote:
>
> Can you run with `-vvvvv` as that will show more info on the connection 
> process that can help identify your issue.
>

-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/942b2aac-f8f2-4445-9bcb-d3e29a877098%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to