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:
akrzos 2016-09-01 16:06:24 -04:00
parent 0514159e23
commit 6adc7ae403

View File

@ -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