feat: the influxdb_api_password variable isn't set by default
This commit is contained in:
parent
9b5275aa2b
commit
0bacd505f0
4 changed files with 6 additions and 5 deletions
|
@ -26,6 +26,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
- remove support for debian 9
|
- remove support for debian 9
|
||||||
|
- the influxdb_api_password variable isn't set by default
|
||||||
|
|
||||||
## [1.0.0] 2019-04-12
|
## [1.0.0] 2019-04-12
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ Install and configure InfluxDB
|
||||||
state: present
|
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_password` - set the api password if you have enabled http authentification
|
||||||
* `influxdb_api_port` - set the api port (default: `8086`)
|
* `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/))
|
* `influxdb_config` - hash with the influxdb configuration (see [influxdb documentation](https://docs.influxdata.com/influxdb/v1.7/administration/config/))
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
---
|
---
|
||||||
influxdb_databases: []
|
influxdb_databases: []
|
||||||
influxdb_users: []
|
influxdb_users: []
|
||||||
influxdb_api_user: user
|
influxdb_api_user: admin
|
||||||
influxdb_api_password: password
|
|
||||||
influxdb_api_port: 8086
|
influxdb_api_port: 8086
|
||||||
influxdb_default_config:
|
influxdb_default_config:
|
||||||
meta:
|
meta:
|
||||||
|
|
|
@ -4,9 +4,10 @@
|
||||||
roles:
|
roles:
|
||||||
- ansible-role-influxdb
|
- ansible-role-influxdb
|
||||||
vars:
|
vars:
|
||||||
|
influxdb_api_password: password
|
||||||
influxdb_users:
|
influxdb_users:
|
||||||
- name: admin
|
- name: '{{ influxdb_api_user }}'
|
||||||
password: test
|
password: '{{ influxdb_api_password }}'
|
||||||
admin: yes
|
admin: yes
|
||||||
- name: test
|
- name: test
|
||||||
password: test2
|
password: test2
|
||||||
|
|
Loading…
Reference in a new issue