diff --git a/tests/integration/targets/grafana_contact_point/tasks/main.yml b/tests/integration/targets/grafana_contact_point/tasks/main.yml index 32a2eb15..060ceab8 100644 --- a/tests/integration/targets/grafana_contact_point/tasks/main.yml +++ b/tests/integration/targets/grafana_contact_point/tasks/main.yml @@ -1,7 +1,15 @@ --- +- name: Check for support of API endpoint + register: result + ignore_errors: true + community.grafana.grafana_contact_point: + uid: apitest + state: absent + - name: Include contact point task files ansible.builtin.include_tasks: "{{ item }}.yml" + when: "result.msg | default('') != 'Unable to get contact point: API endpoint not found'" loop: - alertmanager - dingding