ansible-role-influxdb/test/integration/default/default.yml

33 lines
653 B
YAML
Raw Normal View History

2019-04-12 17:14:25 +00:00
---
- hosts: localhost
connection: local
vars:
influxdb_users:
- name: paul
password: test
admin: yes
- name: adrien
password: test2
- name: antoine
state: absent
influxdb_databases:
- new_database
influxdb_privileges:
- user: adrien
database: new_database
privilege: WRITE
influxdb_config:
'[collectd]':
enabled: true
port: 25826
database: collectd
typesdb: /usr/share/collectd/types.db
roles:
- ansible-role-influxdb
pre_tasks:
- name: install collectd package
apt:
name: collectd-core