Fix bug in Ceilometer backend role
Fix bug, last task always runs regardless of what ceilometer_backend is set to Change-Id: I81be126b2e789cf4d614b2530577c8bcb7285b9c
This commit is contained in:
parent
0514159e23
commit
6adc7ae403
@ -30,5 +30,5 @@
|
||||
|
||||
- name: Configure for gnocchi
|
||||
become: true
|
||||
when: ("'{{ ceilometer_backend }}' == 'gnocchi'") and (inventory_hostname == groups['controller'][0])
|
||||
when: "('{{ceilometer_backend}}' == 'gnocchi') and (inventory_hostname == groups['controller'][0])"
|
||||
shell: gnocchi-upgrade --create-legacy-resource-types
|
||||
|
Loading…
Reference in New Issue
Block a user