Merge "Use 'cloudkitty_influxdb_use_ssl' when creatign InfluxDB database"

This commit is contained in:
Zuul 2022-05-16 10:04:09 +00:00 committed by Gerrit Code Review
commit a482ef956a
2 changed files with 2 additions and 1 deletions

View File

@ -130,7 +130,7 @@ cloudkitty_custom_metrics_yaml_file: "metrics.yml"
# cloudkitty_influxdb_retention_policy: "autogen"
# Set to true to use SSL for InfluxDB connections.
# cloudkitty_influxdb_use_ssl: false
cloudkitty_influxdb_use_ssl: false
# Path of the CA certificate to trust for HTTPS connections.
# cloudkitty_influxdb_cafile: "{{ openstack_cacert }}"

View File

@ -40,6 +40,7 @@
module_args:
hostname: "{{ influxdb_address }}"
port: "{{ influxdb_http_port }}"
ssl: "{{ cloudkitty_influxdb_use_ssl | bool }}"
database_name: "{{ cloudkitty_influxdb_name }}"
run_once: True
delegate_to: "{{ groups['cloudkitty-api'][0] }}"