That's true, but state=restarted doesn't work even in that case for us.  we had to use state=started.

On Jun 14, 2013, at 9:38 AM, Feanil Patel <notifications@github.com> wrote:

> In playbooks/roles/edxapp/handlers/main.yml:
> 
> > @@ -206,3 +235,21 @@
> >    tags:
> >    - cms
> >    - deploy
> > +
> > +- name: stop edxapp
> That's very strange, I'm not seeing that but usually, by the time the restarted task is applied the service is already stopped because of the stop directive in deploy.yml
> …
> —
> Reply to this email directly or view it on GitHub.
>