On Thu, Jul 24, 2014 at 7:00 AM, Michael DeHaan <[email protected]> wrote:
> You could also set a simple play like this, which would probably be cleaner:
>
> - hosts: blarg
> serial: 1
> tasks:
> - pause: seconds={{ n }}
> - service: name=foo state=restarted
Is there a way to do something like this as a handler? I think that's
the main problem here is that a configuration change should trigger a
restart handler, but right now there's no way to throttle/serialize
the execution of that handler. Unless I'm missing something...
--
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/CAJQqANe3_nycqbbpcRTEjwck1%2BcmaDQBd3cFgzW6-Y7EphuYKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.