Manual merge of master into xovis branch

I had a question about this, but I thought that’s what your script did.

Tim

From: Martin Dluhos 
Sent: Thursday, July 03, 2014 9:53 AM
To: XSCE/xsce 
Cc: Tim Moody 
Subject: Re: [xsce] Manual merge of master into xovis branch (#145)

In roles/xovis/tasks/main.yml:

> +  command: sed -i 's/^\(bind_address\s*=\s*\).*$/\10\.0\.0\.0/' /etc/couchdb/default.ini
> +
> +- name: Enable Couchdb service
> +  service: name=couchdb
> +           enabled=yes
> +           state=started
> +
> +- name: Add admin user
> +  command: curl -X PUT {{ xovis_target_host }}/_config/admins/{{ xovis_db_user }} -d "\"{{ xovis_db_password }}\""
> +
> +# Replaced commands below with kanso equivalents
> +  
> +- name: Remove Couch database if it already exists - ignore errors
> +  command: kanso deletedb {{ xovis_db_url }}
> +  ignore_errors: yes
> +#  command: curl -X DELETE {{ xovis_db_url }}
@tim-moody Why did you decide to delete the db on every ansible run? If there is already data in the database, that data would be lost.

—
Reply to this email directly or view it on GitHub.