Because this task works:

command: /home/.../.../nginx stop

but i want a syntax ansible.

Thx for answer guy !! :)

Le lundi 11 février 2019 17:47:38 UTC+1, Sudheer S a écrit :
>
>
> On 11/02/19 4:14 PM, [email protected] <javascript:> wrote:
>
> New probleme: 
>
> When i run this task it's works :
>
> - name: "stopper nginx"
>   systemd:
>       name: /my_pattern/nginx
>       state: stopped
>
> But there is a warning message:
>
> [WARNING]: The service (my_pattern/nginx) is actually an init script but 
> the system is
> managed by systemd
>
> It's normaly ?
>
> Why did you change 
>
> name: nginx
>
> to /my_pattern/nginx
>
> ?
>
> -- 
>
> Sudheer Satyanarayana
>
>

-- 
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/f62c6680-dc9a-4514-916a-2a60c839e5bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to