I'm not sure, but it seems to me that if plone_download_requirements_txt is changed to no in the configuration then we should make sure that requirements.txt is overwritten by the template rule here
I think this should work
- name: Copy requirements file from template
when: not requirements_txt.stat.exists or not instance_config.plone_download_requirements_txt
[...]
I'm not sure, but it seems to me that if
plone_download_requirements_txt
is changed tono
in the configuration then we should make sure thatrequirements.txt
is overwritten by the template rule hereI think this should work
Any thoughts?