eqpress
eqpress copied to clipboard
nginx cache.conf file overwritten by play-fullstack.yml
files/etc/nginx/cache.conf is a dynamic file that is recreated on ever new site. Running the full play-fullstack.yml fails if you have live sites because of the references to the fastcgi_cache zone that get added to this file.
Not sure is we should split this file to cache_common.conf and cache.conf.
Needs looked into so we can run full play-fullstack.yml playbook without breaking the system.
We can configure the command to only copy the cache.conf file if it doesn't exist. The force option set to know will do this.
odd, it seems that's what I intended from the start:
- name: copy nginx cache config only during initial install
but the force=no is missing. I've added it now. 01d7d4acaac6e0bdb45d5fd876bb6221800f8daa