add meter_dispatchers to ceilometer metadata
Adds ceilometer meter_dispatchers to the gather playbook Change-Id: Iae0e6086cbe8d532c459b10a9924fa148ca6fb5b
This commit is contained in:
parent
e25530a3be
commit
14254bb99c
@ -48,6 +48,21 @@
|
||||
openstack_ceilometer_reserved_metadata_length: 255
|
||||
when: reserved_metadata_length.stdout == ""
|
||||
|
||||
- name: Get ceilometer meter_dispatchers
|
||||
command: crudini --get /etc/ceilometer/ceilometer.conf DEFAULT meter_dispatchers
|
||||
register: meter_dispatchers
|
||||
ignore_errors: true
|
||||
|
||||
- name: Set ceilometer meter_dispatchers
|
||||
set_fact:
|
||||
openstack_ceilometer_meter_dispatchers: "{{ meter_dispatchers.stdout }}"
|
||||
when: meter_dispatchers.stdout != ""
|
||||
|
||||
- name: Set ceilometer meter_dispatchers
|
||||
set_fact:
|
||||
openstack_ceilometer_meter_dispatchers: "database"
|
||||
when: reserved_metadata_length.stdout == ""
|
||||
|
||||
- name: Get ceilometer pipeline polling interval
|
||||
command: crudini --get /etc/ceilometer/ceilometer.conf DEFAULT pipeline_polling_interval
|
||||
register: pipeline_polling_interval
|
||||
|
Loading…
x
Reference in New Issue
Block a user