On 14.03.2019 02:00, Gaetano Giacalone wrote:
I have this role dagman62.apache_php it is installing apache/apr with php from source. I am registered variables and when: changed to determine if a tarball changed and needs to be UN-archived, configured, then built. I am getting these annoying warnings about using handlers, but I dont see the logic. It has been my understanding that handlers can be used to restart an app lets say in case a configuration changed. I dont want my configure and
make to run only if an archive changed. It would never get built.

Excerpt from upload



./galaxy/downloads/tmpQjSwNY/tasks/main.yml:40: [E503] Tasks that run when
changed should likely be handlers

If you search you get this
https://github.com/ansible/ansible-lint/issues/419


--
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/6e2c7ab9267cf2009182c1aea99415c7%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to