diff --git a/ansible/browbeat/roles/ceilometer-backend/tasks/main.yml b/ansible/browbeat/roles/ceilometer-backend/tasks/main.yml index eb9687cf0..263855eb6 100644 --- a/ansible/browbeat/roles/ceilometer-backend/tasks/main.yml +++ b/ansible/browbeat/roles/ceilometer-backend/tasks/main.yml @@ -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