diff --git a/tests/integration/targets/grafana_dashboard/tasks/dashboard-export.yml b/tests/integration/targets/grafana_dashboard/tasks/dashboard-export.yml index 3d4c000a..b8470739 100644 --- a/tests/integration/targets/grafana_dashboard/tasks/dashboard-export.yml +++ b/tests/integration/targets/grafana_dashboard/tasks/dashboard-export.yml @@ -13,7 +13,7 @@ that: - "result.failed == false" - "result.changed == true" - - "result.msg == 'Dashboard ' ~ dashboard_uid ~ ' exported to /tmp/dashboard.json'" + - "result.msg == 'Dashboard ' ~ result.uid ~ ' exported to /tmp/dashboard.json'" - name: Load /tmp/dashboard_export.json or fail if missing ansible.builtin.set_fact: