plone / ansible.plone_server

Ansible role to create a plone server
Other
9 stars 16 forks source link

Thought on requirements.txt #151

Open djowett opened 3 years ago

djowett commented 3 years ago

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
  [...]

Any thoughts?