Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Ansible role for loading Preferences Data into CouchDB database (deprecated)

Notifications You must be signed in to change notification settings

gpii-ops/ansible-preferences-server-data-loader-DEPRECATED

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED: The settings that this role manages are now available through environment variables in GPII/universal. See GPII-3094.

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)
  • preferences_server_data_loader_couchdb_host_port: 5984 (default - 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
    - preferences_server_data_loader_couchdb_host_port: 5984
    - preferences_server_data_loader_cleanup_after: false

  roles:
      - ansible-facts
      - ansible-nodejs
      - ansible-preferences-server-data-loader

License

MIT

Author Information

About

Ansible role for loading Preferences Data into CouchDB database (deprecated)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •