mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
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:
parent
719feef2e0
commit
386c6b4051
3 changed files with 53 additions and 68 deletions
|
@ -42,8 +42,8 @@ class InfluxDb():
|
|||
return dict(
|
||||
hostname=dict(default='localhost', type='str'),
|
||||
port=dict(default=8086, type='int'),
|
||||
username=dict(default='root', type='str'),
|
||||
password=dict(default='root', type='str', no_log=True),
|
||||
username=dict(default='root', type='str', aliases=['login_username']),
|
||||
password=dict(default='root', type='str', no_log=True, aliases=['login_password']),
|
||||
ssl=dict(default=False, type='bool'),
|
||||
validate_certs=dict(default=True, type='bool'),
|
||||
timeout=dict(type='int'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue