On Wednesday, July 13, 2016 at 7:21:08 PM UTC+10, Kai Stian Olstad wrote:
>
> On 13.07.2016 10:25, Igor Cicimov wrote:
> > - name: template configuration file
> > template: src=template.j2 dest=/etc/foo.conf
> > notify:
> > - restart memcached
> > - restart apache
> >
> >
> > does this guarantee that memcached is always going to be restarted
> > before
> > apache when the handles get flushed?
>
> No.
> All notify will run at the end an in the order they are in handlers
> file.
>
> --
> Kai Stian Olstad
>
I guess same goes in case of different tasks calling different handles?
Like:
- task1
notify:
- restart memcached
- tasks2
notify:
- restart apache
--
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/9d2cc89a-b761-4d46-9fab-f76a65135bef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.