Re: Db view updates

2018-02-08 Thread Tyson Norris
Perfect! Yeah I was trying to use the recreateViews playbook directly, unsuccessfully. recreatedDesignDocs works great Thanks! Tyson > On Feb 8, 2018, at 11:36 AM, Rodric Rabbah wrote: > > Try this: > > ansible-playbook -i environments/local recreateDesignDocs.yml > > -r > > On Thu, Feb 8,

Re: Db view updates

2018-02-08 Thread Rodric Rabbah
Try this: ansible-playbook -i environments/local recreateDesignDocs.yml -r On Thu, Feb 8, 2018 at 2:31 PM, Rodric Rabbah wrote: > Hmm, I had separated the view installation at one point so that you can > run those separately from the wipe playbook. Did you try using the > recreateViews playboo

Re: Db view updates

2018-02-08 Thread Rodric Rabbah
Hmm, I had separated the view installation at one point so that you can run those separately from the wipe playbook. Did you try using the recreateViews playbook only? -r

Db view updates

2018-02-08 Thread Tyson Norris
Hi - I’m wondering about the best practice for updating existing couchdb instances with latest views? Not being an ansible or couchdb expert (and I didn’t find anything documented), I ended up with this approach: ansible-playbook -i environments/local setup.yml && ansible-playbook couchdb.yml