diff --git a/ansible/roles/cloudkitty/defaults/main.yml b/ansible/roles/cloudkitty/defaults/main.yml index 70c39f190c..c51f9e9e84 100644 --- a/ansible/roles/cloudkitty/defaults/main.yml +++ b/ansible/roles/cloudkitty/defaults/main.yml @@ -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 }}" diff --git a/ansible/roles/cloudkitty/tasks/bootstrap.yml b/ansible/roles/cloudkitty/tasks/bootstrap.yml index 2ba2906564..3960b15267 100644 --- a/ansible/roles/cloudkitty/tasks/bootstrap.yml +++ b/ansible/roles/cloudkitty/tasks/bootstrap.yml @@ -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] }}"