influxdb: add login aliases (#34599)

influxdb_user module has user_name, user_password which may confuse with existing
login arg username and password. Added aliases prefixed ith login_ to
help distinguish.
This commit is contained in:
René Moser 2018-01-19 14:54:42 +01:00 committed by GitHub
commit 386c6b4051
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 53 additions and 68 deletions

View file

@ -9,17 +9,21 @@ class ModuleDocFragment(object):
options:
hostname:
description:
- The hostname or IP address on which InfluxDB server is listening
- The hostname or IP address on which InfluxDB server is listening.
- Since version 2.5, defaulted to localhost.
default: localhost
username:
description:
- Username that will be used to authenticate against InfluxDB server
- Username that will be used to authenticate against InfluxDB server.
- Alias C(login_username) added in version 2.5.
default: root
aliases: [ login_username ]
password:
description:
- Password that will be used to authenticate against InfluxDB server
- Password that will be used to authenticate against InfluxDB server.
- Alias C(login_password) added in version 2.5.
default: root
aliases: [ login_password ]
port:
description:
- The port on which InfluxDB server is listening