influxdb: default hostname to localhost (#34117)

This commit is contained in:
René Moser
2017-12-21 07:04:45 +01:00
committed by GitHub
parent a067575cab
commit 276f7122cd
2 changed files with 3 additions and 2 deletions

View File

@@ -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),