Skip to content
Snippets Groups Projects
Commit ceddf3b2 authored by Rafael Weingärtner's avatar Rafael Weingärtner
Browse files

Use 'cloudkitty_influxdb_use_ssl' when creatign InfluxDB database

Change-Id: Iff395a1dff654eb4b005eec2db395b603b1aec72
parent 8ece7cce
No related branches found
No related tags found
No related merge requests found
...@@ -130,7 +130,7 @@ cloudkitty_custom_metrics_yaml_file: "metrics.yml" ...@@ -130,7 +130,7 @@ cloudkitty_custom_metrics_yaml_file: "metrics.yml"
# cloudkitty_influxdb_retention_policy: "autogen" # cloudkitty_influxdb_retention_policy: "autogen"
# Set to true to use SSL for InfluxDB connections. # 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. # Path of the CA certificate to trust for HTTPS connections.
# cloudkitty_influxdb_cafile: "{{ openstack_cacert }}" # cloudkitty_influxdb_cafile: "{{ openstack_cacert }}"
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
module_args: module_args:
hostname: "{{ influxdb_address }}" hostname: "{{ influxdb_address }}"
port: "{{ influxdb_http_port }}" port: "{{ influxdb_http_port }}"
ssl: "{{ cloudkitty_influxdb_use_ssl | bool }}"
database_name: "{{ cloudkitty_influxdb_name }}" database_name: "{{ cloudkitty_influxdb_name }}"
run_once: True run_once: True
delegate_to: "{{ groups['cloudkitty-api'][0] }}" delegate_to: "{{ groups['cloudkitty-api'][0] }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment