Using cluster_metrics host as default output
InfluxDB is usually already installed at this point (running playbook-influx-db.yml playbook), so in most cases using such host as default output avoids to specify additional information. Change-Id: Iac5e16c3d24a74119ea2179ecc3e5273de20676e
This commit is contained in:
parent
3dbc21a0c3
commit
1b1e2853d1
@ -48,4 +48,4 @@
|
||||
group: "{{ groups['utility_all'][0] }}"
|
||||
when_group: "{{ (groups['cinder_volumes'] | default([]) | length) > 0 }}"
|
||||
telegraf_output_influxdb_targets:
|
||||
- "{{ influxdb_protocol|default('http') }}://{{ influxdb_host|default(internal_lb_vip_address) }}:{{ influxdb_port }}"
|
||||
- "{{ influxdb_protocol|default('http') }}://{{ influxdb_host|default(hostvars[groups['cluster-metrics'][0]]['ansible_host']) }}:{{ influxdb_port }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user