What's defined in handlers/redeploy.yml?


On Wed, Oct 8, 2014 at 6:48 AM, ProfHase <[email protected]> wrote:

> Hi,
>
> having the following task in my main.yml in a role (tasks/main.yml):
>
> - name: mytask
>   copy:
>     src=/source
>     dest=/destination
>   notify: redeploy
>
>
> with the following handler ( handlers/main.yml):
>
> - name: redeploy
>   include: redeploy.yml
>
> I am getting:
>
>>
>> ERROR: change handler (redeploy) is not defined
>>
>
> Is this behaviour intended?
>
> I thought of this as the most concise way to consolidate multiple handler
> tasks.
> (I know, there was already a mail  <http://here>here
> <https://groups.google.com/forum/#!topic/ansible-project/pOm5zIYpngI>
> with the suggestion to notify other handlers in handler which does not seem
> semantically appropriate)
>
> --
> 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/a4a328d3-52a9-4d9d-aaff-dfe270db9ce9%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/a4a328d3-52a9-4d9d-aaff-dfe270db9ce9%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/CA%2BnsWgwt3SHXWfNgcU7GJHURWXE9hYeQ8wqr65Ys6fnHoU3N3Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to