InfluxDB_database: Make the path argument conditional on the InfluxDB version (#1126)

Co-authored-by: Mathias Ettinger <mathias.ettinger@viveris.f>
This commit is contained in:
Mathias Ettinger 2020-11-06 09:12:00 +01:00 committed by GitHub
commit ce0f327875
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 4 deletions

View file

@ -40,6 +40,7 @@ options:
path:
description:
- The path on which InfluxDB server is accessible
- Only available when using python-influxdb >= 5.1.0
type: str
version_added: '0.2.0'
validate_certs:
@ -60,6 +61,7 @@ options:
description:
- Number of retries client will try before aborting.
- C(0) indicates try until success.
- Only available when using python-influxdb >= 4.1.0
type: int
default: 3
use_udp: