Dear guys,
I try to connect with winrm to a Windows server 2016: winrm is installed,
port winrm is open and firewall down (windows)
Some output about this error?
ansible@host01:~/playbooks$ ansible all -i ../inventory_winrm -m win_ping
-vvvv
ansible 2.8.0
config file = /etc/ansible/ansible.cfg
configured module search path =
[u'/home/ansible/.ansible/plugins/modules',
u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /bin/ansible
python version = 2.7.5 (default, Jun 11 2019, 14:33:56) [GCC 4.8.5
20150623 (Red Hat 4.8.5-39)]
Using /etc/ansible/ansible.cfg as config file
setting up inventory plugins
host_list declined parsing /home/ansible/inventory_winrm as it did not pass
it's verify_file() method
script declined parsing /home/ansible/inventory_winrm as it did not pass
it's verify_file() method
auto declined parsing /home/ansible/inventory_winrm as it did not pass it's
verify_file() method
Parsed /home/ansible/inventory_winrm inventory source with ini plugin
Loading callback plugin minimal of type stdout, v2.0 from
/usr/lib/python2.7/site-packages/ansible/plugins/callback/minimal.pyc
META: ran handlers
Using module file
/usr/lib/python2.7/site-packages/ansible/modules/windows/win_ping.ps1
Pipelining is enabled.
<172.24.0.22> ESTABLISH WINRM CONNECTION FOR USER: LOCAL_ANSIBLE_SVC on
PORT 5986 TO 172.24.0.22
*172.24.0.22 | FAILED! => { "msg": "the connection attempt timed out"*
ansible@host01:~/playbooks$
*telnet 172.24.0.22 5986Trying 172.24.0.22...Connected to
172.24.0.22.Escape character is '^]'.*
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/55b4b02e-6697-4257-8ae4-897c334c978d%40googlegroups.com.