Merge "Fix registration of Monasca Grafana datasource"

This commit is contained in:
Zuul 2020-05-17 12:26:58 +00:00 committed by Gerrit Code Review
commit 4b4662a611

View File

@ -115,6 +115,6 @@
changed_when: monasca_grafana_datasource_response.status == 200
failed_when: monasca_grafana_datasource_response.status not in [200, 409] or
(monasca_grafana_datasource_response.status == 409 and
("Data source with same name already exists" not in monasca_grafana_datasource_response.json.message|default(""))
"Data source with same name already exists" not in monasca_grafana_datasource_response.json.message|default(""))
with_dict: "{{ monasca_grafana_data_sources }}"
when: item.value.enabled | bool