influxdb: default hostname to localhost (#34117)

pull/33236/head
René Moser 7 years ago committed by GitHub
parent a067575cab
commit 276f7122cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -40,7 +40,7 @@ class InfluxDb():
@staticmethod
def influxdb_argument_spec():
return dict(
hostname=dict(required=True, type='str'),
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),

@ -10,7 +10,8 @@ options:
hostname:
description:
- The hostname or IP address on which InfluxDB server is listening
required: true
- Since version 2.5, defaulted to localhost.
default: localhost
username:
description:
- Username that will be used to authenticate against InfluxDB server

Loading…
Cancel
Save