Galaxy role to create InfluxDB database and user
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Wilfried OLLIVIER b2228d198b Remove useless sentence in README example 1 year ago
defaults Fix: Harmonize files by adding new line if nedded 1 year ago
meta Fix: Harmonize files by adding new line if nedded 1 year ago
tasks Bootstrap influx.create.db role 2 years ago
tests Bootstrap influx.create.db role 2 years ago
LICENSE Move LICENSE file 2 years ago
README.md Remove useless sentence in README example 1 year ago

README.md

galaxy-influx.create.db

Galaxy role to create InfluxDB database and user

Requirements

InfluxDB service up and running

Role Variables

  • db_name: name of the db to create
  • user_name: name of the user to create
  • user_pass: user password
  • admin_user: name of admin user
  • admin_pass: password of admin user
  • is_admin: true/false, to enable admin mode or not
  • priv: READ/WRITE/ALL, to setup database priv of user_name on db_name
  • policy_name: name of the retention policy to apply
  • policy_duration: duration of the retention policy to apply
  • policy_replication: policy replication

Dependencies

  • galaxy-influx

Example Playbook

- hosts: servers
  roles:
     - role: galaxy-influx.create.db

Run tests

Needs galaxy-vagrant to run tests

Ensure galaxy-vagrant is up

ansible-playbook -i tests/inventory tests/test.yml