eqpress icon indicating copy to clipboard operation
eqpress copied to clipboard

nginx cache.conf file overwritten by play-fullstack.yml

Open RamJett opened this issue 9 years ago • 2 comments

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.

RamJett avatar Oct 23 '15 22:10 RamJett

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.

boreal321 avatar Oct 23 '15 22:10 boreal321

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

boreal321 avatar Oct 23 '15 22:10 boreal321