diff --git a/plugins/modules/grafana_dashboard.py b/plugins/modules/grafana_dashboard.py index a521038e..52ac52f1 100644 --- a/plugins/modules/grafana_dashboard.py +++ b/plugins/modules/grafana_dashboard.py @@ -277,9 +277,11 @@ def grafana_dashboard_changed(payload, dashboard): if 'version' in dashboard['dashboard']: del(dashboard['dashboard']['version']) - # the meta key is not part of the 'payload' ever + # remove meta key if exists for compare if 'meta' in dashboard: del(dashboard['meta']) + if 'meta' in payload: + del(payload['meta']) # if folderId is not provided in dashboard, set default folderId if 'folderId' not in dashboard: