I think you are going to need to show an example of the playbook/role and the output of this happening.
On Thursday, May 28, 2015, Steven Truong <[email protected]> wrote: > Hi all, > > I am using ansible 1.9.1 and in the same role I have a couple of notify to > the same service to be restarted. > > Apparently, ansible tries to restart 3-4 times for each notify and that is > undesirable. > > I could do without notify and create register for each task and then at > the end I can have another task that would do when: any of the register > variable changed and restart but that is a hack. > > Please let me know if there is the right way to do this. > > Thank you very much in advance. > > -- > 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] > <javascript:_e(%7B%7D,'cvml','ansible-project%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/cbf63ea0-0594-4aa4-8d6c-ac984e2efe99%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/cbf63ea0-0594-4aa4-8d6c-ac984e2efe99%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Matt Martz @sivel sivel.net -- 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/CAD8N0v-whMwxnUgqxcGw81t%2BRX0Ptg60QSfqtsMCmBiqnkA97w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
