Thanks, that is the way I did it. I just think that logically those three (in my case those are 7) operations are just one handler. (To explain that: if one file has changed, the whole application needs to be rebuilt) So none of the 7 handlers will ever be called alone and it would require less copy-paste (as the application needs to be rebuilt on change of multiple files)
Am Sonntag, 12. Oktober 2014 10:30:40 UTC+2 schrieb David Karban: > > Hi, > > you can call more, than one handler: > - name: mytask > copy: > src=/source > dest=/destination > notify: > - copy installation files > - run install script > - restart myservice > > David > > > 2014-10-08 15:17 GMT+02:00 ProfHase <[email protected] <javascript:>>: > >> Would that be a possible feature request? >> It seems quite logical to me that (like in my case) a handler could >> consist of multiple related tasks. >> >> Or do I oversee anything? >> >> -- >> 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:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/9b9b7a29-5217-472f-aebc-73090b06b0ac%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/9b9b7a29-5217-472f-aebc-73090b06b0ac%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/74f5e4a1-e6b9-44b4-b264-456e9681202a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
