mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
influxdb: default hostname to localhost (#34117)
This commit is contained in:
parent
a067575cab
commit
276f7122cd
2 changed files with 3 additions and 2 deletions
|
@ -40,7 +40,7 @@ class InfluxDb():
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def influxdb_argument_spec():
|
def influxdb_argument_spec():
|
||||||
return dict(
|
return dict(
|
||||||
hostname=dict(required=True, type='str'),
|
hostname=dict(default='localhost', type='str'),
|
||||||
port=dict(default=8086, type='int'),
|
port=dict(default=8086, type='int'),
|
||||||
username=dict(default='root', type='str'),
|
username=dict(default='root', type='str'),
|
||||||
password=dict(default='root', type='str', no_log=True),
|
password=dict(default='root', type='str', no_log=True),
|
||||||
|
|
|
@ -10,7 +10,8 @@ options:
|
||||||
hostname:
|
hostname:
|
||||||
description:
|
description:
|
||||||
- The hostname or IP address on which InfluxDB server is listening
|
- The hostname or IP address on which InfluxDB server is listening
|
||||||
required: true
|
- Since version 2.5, defaulted to localhost.
|
||||||
|
default: localhost
|
||||||
username:
|
username:
|
||||||
description:
|
description:
|
||||||
- Username that will be used to authenticate against InfluxDB server
|
- Username that will be used to authenticate against InfluxDB server
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue