Role for loading test data (or, maybe, other data) to a preference server data stores (CouchDB instance). Split out from ansible-preferences-server.
This is mostly intended to be run in a Docker container.
- Running couchdb server to load the data to.
preferences_server_data_loader_couchdb_host_address: couchdb
(default - localhost:5984)preferences_server_data_loader_cleanup_after
: whether or not to delete kanso and the temporary directory (default - true)preferences_server_data_loader_clear_index
: should we clear the /preferences index in couchdb and create it again? (default - true)
- ansible-facts role
- ansible-nodejs role, since it checks out universal and needs to install Kanso
---
- hosts: dataloader
remote_user: vagrant
become: yes
vars:
- preferences_server_data_loader_couchdb_host_address: 192.168.99.100:5984
- preferences_server_data_loader_cleanup_after: false
roles:
- ansible-facts
- ansible-nodejs
- ansible-preferences-server-data-loader
MIT