I am too facing this issue. 

When I do manually in the server , works fine , but from ansible ( using 
service module , command, shell , and even raw command ) it doesnt start .

Has anyone seen this , if yes , any clue ?



On Thursday, June 21, 2018 at 3:28:47 AM UTC+8, Daastan Pradhan wrote:
>
> I am running this task in ansible playbook. 
> - name: Start filebeat service 
>   shell: /fisc/uts/bin/sudo filebeat start 
>
> This doesnot start the filebeat agent. But I have checked manually running 
> that command on the test servers. It works fine. ( I tried ‘command’ 
> instead of ‘shell’, it doesnt work either) 
>
> The stop command works tho if I replace start with stop. But ‘start’ and 
> ‘restart’ doesnt work.Can you please help?

-- 
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/d008e341-0ce6-4711-a3c0-0630086618a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to