I understand having the ability to set a variable at a more global scope is important but I think by default it should not.
So with my minor example, the pythonapp is generic configuration and one of the checks it does is "when: use_req_text is defined" and each role can decide if it should use a requirements.txt to install. My problem now is that only half of my 40 projects use requirements.txt but since Ansible is leaking the information it tries to use requirements.txt for all of them. Is my only option to have to explicitly set this var in every role and accept the fact that forgetting to do so will have bad consequences? -- 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/3cec3782-e0bf-450b-ac7a-41eb7cd6c4cb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
