/ansible-preferences-server-data-loader

Role for loading test data (or, maybe, other data) to a preferences server data store (CouchDB). Split out from ansible-preferences-server

GPII Preferences Server Data Loader

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.

Requirements

  • Running couchdb server to load the data to.

Role Variables

  • 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)

Dependencies

Example Playbook

---
- 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

License

MIT

Author Information