Use 'cloudkitty_influxdb_use_ssl' when creatign InfluxDB database
Change-Id: Iff395a1dff654eb4b005eec2db395b603b1aec72
This commit is contained in:
parent
8ece7cce90
commit
ceddf3b202
ansible/roles/cloudkitty
@ -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 @@
|
|||||||
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] }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user