Skip to content

Grafana.net imported dashboards removed every other time #346

Open
@jcox10

Description

@jcox10

Starting in v6.0.0 dashboards imported from grafana.net are removed every other execution of the role when grafana_provisioning_synced: true . It look like the __dashboards_copied var does not get populated when the dashboard already exist.

First execution, the dashboard is imported successfully, and the remove task is skipped:
Image

Second execution, the dashboard is not imported since it already exists, and the remove task then deletes it:
Image

The role either needs to update the __dashboards_copied var with the imported dashboards every time, or maybe it needs to always re-import from grafana.net?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions