Hello guys,
I work on Ansible playbook for automatic deployment of LogicMonitor
Collector on Windows machine but unfortunately i'm stucked by
WinRMOperation TimeoutError. I've configured Windows machine like is said
in documentation by script and any other templates which i tried works
well, but here I do not know what next should I try. When I've tried it on
Linux machine everything works well but I have to deploy on Windows machine
cause of another application which I need there. Playbook, Trace and
Group_vars are down bellow. I appreciate every help.
*PLAYBOOK:*
---
- hosts: opsmonitoring
gather_facts: False
tasks:
- name: Deploy/verify LogicMonitor collectors
logicmonitor:
target: collector
action: add
displayname: "newCollector"
company: mycompany
user: myuser
password: mypassword
*TRACE:*
[WARNING]: FATAL ERROR DURING FILE TRANSFER: Traceback (most recent call
last): File "/home/opsadmin/.local/lib/python2.7
/site-packages/ansible/plugins/connection/winrm.py", line 276, in
_winrm_exec self._winrm_send_input(self.protocol,
self.shell_id, command_id, data, eof=is_last) File
"/home/opsadmin/.local/lib/python2.7/site-
packages/ansible/plugins/connection/winrm.py", line 256, in
_winrm_send_input
protocol.send_message(xmltodict.unparse(rq)) File
"/home/opsadmin/.local/lib/python2.7/site-packages/winrm/protocol.py",
line 256, in send_message raise WinRMOperationTimeoutError()
WinRMOperationTimeoutError
fatal: [omsmonitoring-us]: FAILED! => {"msg": "winrm send_input failed"}
to retry, use: --limit @/etc/ansible/add_collector.retry
*GROUP_VARS:*
---
ansible_port: 5986
ansible_connection: winrm
ansible_winrm_server_cert_validation: ignore
ansible_winrm_transport: basic
ansible_winrm_operation_timeout_sec: 90
ansible_winrm_read_timeout_sec: 100
--
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/ee916fe4-598f-4eef-bb49-4486d40a470d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.