GeoNode / ansible-geonode

Ansible GeoNode Scripts
https://galaxy.ansible.com/GeoNode/geonode/
7 stars 21 forks source link

Use Env Variable rather than local_settings for allowed hosts #10

Open pjdufour opened 7 years ago

pjdufour commented 7 years ago

Ansible playbook alters ALLOWED_HOSTS in settings.py then fails on git sync because settings.py was changed. Better to use environmental variables with our current strategy.

https://github.com/GeoNode/ansible-geonode/blob/ab175510e5f11fa12a3878ca6f61881c81a13bb3/tasks/geonode.yml#L81

==

TASK [GeoNode.geonode : checkout latest web app code] ** fatal: [default]: FAILED! => {"changed": false, "failed": true, "msg": "Local modifications exist in repository (force=no)."}