Ansible 无法创建新仪表板:404找不到messageDashboard

Ansible 无法创建新仪表板:404找不到messageDashboard,ansible,grafana,Ansible,Grafana,我正在尝试将Grafana仪表板(JSON)导入Grafana。下面是ansible的剧本 --- - name: task to parameterise grafana template hosts: localhost become: true user: root tasks: - name: Import Grafana dashboard grafana_dashboard: grafana_url: http://<host

我正在尝试将Grafana仪表板(JSON)导入Grafana。下面是ansible的剧本

---
- name: task to parameterise grafana template
  hosts: localhost
  become: true
  user: root
  tasks:
    - name: Import Grafana dashboard
      grafana_dashboard:
        grafana_url: http://<host-ip>:3000
        state: present
        message: Updated by ansible
        uid: edO3sTlipu
        overwrite: yes
        path: "/home/centos/Kubernetes_cluster_monitoring.json"
有人能帮忙吗

"msg": "error : Unable to create the new dashboard edO3sTlipu : 404 - {'status': 404, 'body': '{\"message\":\"Dashboard not found\",\"status\":\"not-found\"}', 'content-length': '54', 'url': 'http://13.235.2.156:3000/api/dashboards/db', 'expires': '-1', 'msg': 'HTTP Error 404: Not Found', 'connection': 'close', 'pragma': 'no-cache', 'cache-control': 'no-cache', 'date': 'Tue, 07 Jan 2020 08:38:46 GMT', 'x-frame-options': 'deny', 'content-type': 'application/json'}."