Hi Team,
I am getting the error when trying to stopped some window services using the win_service module.
TASK [Gathering Facts] ***************************************************************************
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/windows/setup.ps1
ESTABLISH WINRM CONNECTION FOR USER: username on PORT 5986 TO
EXEC (via pipeline wrapper)
fatal: [servername.com]: FAILED! => {
“changed”: false,
“failed”: true,
“module_stderr”: “”,
“module_stdout”: “”,
“msg”: “MODULE FAILURE”,
“rc”: 0
}
to retry, use: --limit @/home/username/windows/firt.retry
PLAY RECAP ***************************************************************************************
server.com : ok=0 changed=0 unreachable=0 failed=1
But when i checked on node side, the services is stopped. (Means in run time gets the error). Same time start module working fine.
Please help me to fix this.
Regards
Shtrudhan Kumar