command line: ansible web -m win_service -a "name=spooler state=stopped"

Op donderdag 31 augustus 2017 02:27:02 UTC-7 schreef J Hawkesworth:
>
> Please share your playbook or command line
>
> On Wednesday, August 30, 2017 at 11:23:35 PM UTC+1, Thijn Bukkems wrote:
>>
>> Also tried to stop or start the print spooler just to test another 
>> command.. This is what's in the log
>>
>> 2017-08-30 17:19:53,300 urllib3.connectionpool Starting new HTTPS 
>> connection (1): XXXX.domain
>> 2017-08-30 17:19:53,314 urllib3.connectionpool Starting new HTTPS 
>> connection (1): YYYY.domain
>> 2017-08-30 17:19:53,350 urllib3.connectionpool https://XXXX.domainl:5986 
>> "POST /wsman HTTP/1.1" 401 0
>> 2017-08-30 17:19:53,352 urllib3.connectionpool Resetting dropped 
>> connection: YYYY.domain
>> 2017-08-30 17:19:53,363 urllib3.connectionpool https://YYYY.domain:5986 
>> "POST /wsman HTTP/1.1" 401 0
>> 2017-08-30 17:19:53,365 urllib3.connectionpool Resetting dropped 
>> connection: YYYY.domain
>> 2017-08-30 17:19:53,402 urllib3.connectionpool https:XXXX.domain:5986 
>> "POST /wsman HTTP/1.1" 401 0
>> 2017-08-30 17:19:53,415 urllib3.connectionpool https:/YYYY.domainl:5986 
>> "POST /wsman HTTP/1.1" 401 0
>> 2017-08-30 17:19:53,523 urllib3.connectionpool https://YYYY.domainl:5986 
>> "POST /wsman HTTP/1.1" 200 1640
>> 2017-08-30 17:19:53,532 urllib3.connectionpool https://YYYY.domain:5986 
>> "POST /wsman HTTP/1.1" 200 847
>> 2017-08-30 17:19:53,610 urllib3.connectionpool https:XXXX.domainl:5986 
>> "POST /wsman HTTP/1.1" 200 1640
>> 2017-08-30 17:19:53,619 urllib3.connectionpool https://XXXX.domain:5986 
>> "POST /wsman HTTP/1.1" 200 847
>> 2017-08-30 17:19:53,795 urllib3.connectionpool https:/YYYY.domainl:5986 
>> "POST /wsman HTTP/1.1" 200 753
>> 2017-08-30 17:19:53,883 urllib3.connectionpool https://XXXX.domainl:5986 
>> "POST /wsman HTTP/1.1" 200 753
>> 2017-08-30 17:19:59,803 urllib3.connectionpool https://YYYY.domainl:5986 
>> "POST /wsman HTTP/1.1" 200 2563
>> 2017-08-30 17:19:59,809 urllib3.connectionpool https:/YYYY.domain:5986 
>> "POST /wsman HTTP/1.1" 200 757
>> 2017-08-30 17:19:59,815 urllib3.connectionpool https:/YYYY.domainl:5986 
>> "POST /wsman HTTP/1.1" 200 602
>> 2017-08-30 17:19:59,822 p=5178 u=root | YYYY.domain | FAILED! => {
>>     "changed": false,
>>     "failed": true,
>>     "module_stderr": "Exception calling \"Run\" with \"1\" argument(s): 
>> \"Exception calling \"Invoke\" with \r\n\"0\" argument(s): \"The running 
>> command st$    "module_stdout": "",
>>     "msg": "MODULE FAILURE",
>>     "rc": 1
>> }
>> 2017-08-30 17:19:59,899 urllib3.connectionpool https://nYYYY.domainl:5986 
>> "POST /wsman HTTP/1.1" 200 2563
>> 2017-08-30 17:19:59,905 urllib3.connectionpool https:/YYYY.domainal:5986 
>> "POST /wsman HTTP/1.1" 200 757
>> 2017-08-30 17:19:59,911 urllib3.connectionpool https://YYYY.domainl:5986 
>> "POST /wsman HTTP/1.1" 200 602
>> 2017-08-30 17:19:59,916 p=5178 u=root |  YYYY.domain | FAILED! => {
>>     "changed": false,
>>     "failed": true,
>>     "module_stderr": "Exception calling \"Run\" with \"1\" argument(s): 
>> \"Exception calling \"Invoke\" with \r\n\"0\" argument(s): \"The running 
>> command st$    "module_stdout": "",
>>     "msg": "MODULE FAILURE",
>>     "rc": 1
>> }
>>
>

-- 
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/4c4adb73-85a5-4dc3-9100-dcb9ce2c7c2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to