feat: the influxdb_api_password variable isn't set by default

This commit is contained in:
Adrien Waksberg 2021-08-18 15:57:48 +02:00
parent 9b5275aa2b
commit 0bacd505f0
4 changed files with 6 additions and 5 deletions

View file

@ -26,6 +26,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
### Removed
- remove support for debian 9
- the influxdb_api_password variable isn't set by default
## [1.0.0] 2019-04-12

View file

@ -27,7 +27,7 @@ Install and configure InfluxDB
state: present
```
* `influxdb_api_user` - set the api user if you have enabled http authentification
* `influxdb_api_user` - set the api user if you have enabled http authentification (default: `admin`)
* `influxdb_api_password` - set the api password if you have enabled http authentification
* `influxdb_api_port` - set the api port (default: `8086`)
* `influxdb_config` - hash with the influxdb configuration (see [influxdb documentation](https://docs.influxdata.com/influxdb/v1.7/administration/config/))

View file

@ -1,8 +1,7 @@
---
influxdb_databases: []
influxdb_users: []
influxdb_api_user: user
influxdb_api_password: password
influxdb_api_user: admin
influxdb_api_port: 8086
influxdb_default_config:
meta:

View file

@ -4,9 +4,10 @@
roles:
- ansible-role-influxdb
vars:
influxdb_api_password: password
influxdb_users:
- name: admin
password: test
- name: '{{ influxdb_api_user }}'
password: '{{ influxdb_api_password }}'
admin: yes
- name: test
password: test2