Commit 3bba5264 authored by Tobias Winchen's avatar Tobias Winchen
Browse files

Fix error on removal of non-existing dashboards

parent f966b1fe
......@@ -99,7 +99,7 @@
Accept: "application/json"
body: "{{ lookup('template','{{ dashboard_template }}') }}"
body_format: json
ignore_errors: yes
ignore_errors: True # Note that we will not wait for the result also, as otherwise the ignore_error is ignored
async: 300
poll: 0
register: async_results_tmp
......@@ -113,19 +113,14 @@
tags:
- never
- stop
ignore_errors: yes
ignore_errors: True # Note that we will not wait for the result also, as otherwise the ignore_error is ignored
async: 300
poll: 0
register: async_results_tmp
- set_fact:
edd_container: '{{ edd_container | dict2items | rejectattr( "key", "equalto", container_name )|list|items2dict }}'
cacheable: true
- set_fact:
async_list: "{{ async_list + [ async_results_tmp.ansible_job_id ] }}"
tags:
- always
when: install_dashboard
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment