*UPDATE* - I reverted back to an older snapshot of the test box but that 
leads me to other questions about how to handle tasks when they're not 
completed in a timely Ansible time. I was looking into the async piece 
where you can set a polling interval and such, 
http://docs.ansible.com/ansible/latest/playbooks_async.html when I asked my 
boss about it he said that this would be his last effort - is this not the 
proper way to handle situations like this where tasks fail for taking too 
long? I'm new so I don't know :)

When I leverage this playbook against 60+ hosts I'm not going to be able to 
manually troubleshoot ones that are taking a long time because x y z. 


On Tuesday, December 19, 2017 at 12:45:58 PM UTC-8, Heather Luna wrote:
>
> Weird thing happening with my Windows Playbook for Splunk.
>
> I run the play which includes stopping the Splunk Service. When it gets to 
> the Splunk Service part with the service is supposed to stop, it seemingly 
> fails. Now I checked before I ran the play and the Splunk service was 
> running on my test box, and although the play fails, it's in a stopped 
> status after the play runs. 
>
> TASK [Stopping Splunkd Service in Preperation for Splunk Directory 
> Removal] 
> ***********************************************************************************************
> fatal: [computername]: FAILED! => {"can_pause_and_continue": false, 
> "changed": false, "depended_by": [], "dependencies": [], "description": 
> "Splunkd is the indexing and searching engine for Splunk, a data platform 
> for operational intelligence. It is required for Splunk instances acting as 
> an indexer. If it is stopped, Splunk will not process data and will be 
> unavailable for search. Splunkweb depends on Splunkd. Please see 
> www.splunk.com for more information. Questions can be submitted to 
> www.splunk.com/answers or for supported customers 
> www.splunk.com/page/submit_issue", "desktop_interact": false, 
> "display_name": "Splunkd Service", "exists": true, "msg": "Service 'Splunkd 
> Service (Splunkd)' cannot be stopped due to the following error: Cannot 
> stop Splunkd service on computer '.'.", "name": "Splunkd", "path": 
> "\"C:\\Program Files\\Splunk\\bin\\splunkd.exe\" service", "start_mode": 
> "auto", "state": "running", "username": "LocalSystem"}
>

-- 
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/6b829df1-da15-4b44-adbb-15767949d034%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to