]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Make it easier to ship more custom dashboards
authorZack Cerza <zack@redhat.com>
Thu, 31 Mar 2016 20:43:20 +0000 (14:43 -0600)
committerZack Cerza <zack@redhat.com>
Thu, 31 Mar 2016 20:43:20 +0000 (14:43 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
roles/pcp/tasks/web.yml

index abcfca24f6e49e5c7ad781a9243536b318de5e64..e60a581288577908ef81f3f08f7955eaae7ea4bb 100644 (file)
     enabled: yes
   register: enable_pmwebd
 
-- name: Ship 1h1m.json dashboard
+- name: Ship custom dashboards
   copy:
-    src: "../files/1h1m.json"
+    src: "../files/{{ item }}"
     dest: "/usr/share/pcp/webapps/grafana/app/dashboards/"
     owner: root
     group: root
     mode: 0644
+  with_items:
+    - "1h1m.json"
 
 - name: Start pmwebd
   service: