On Thursday, 18 October 2018 17.47.02 CEST Leam Hall wrote: > Yes, with the note that I actually fixed the handler names to match. > > # tasks/main.yml > > - include: install_httpd.yml > > - include: cat1.yml > when: apache_cat1 | bool > notify: restart_httpd
include has only ok and failed status and not changed. It's the changed that trigger a notify, so you need to have the notify on the install task instead. -- Kai Stian Olstad -- 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/1699529.coC9qO21Pa%40x1. For more options, visit https://groups.google.com/d/optout.
