Merge "Fix registration of Monasca Grafana datasource"
This commit is contained in:
commit
4b4662a611
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user