]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commitdiff
ceph-grafana: Add dashboards tag
authorZack Cerza <zack@redhat.com>
Wed, 30 Aug 2017 18:06:08 +0000 (12:06 -0600)
committerZack Cerza <zack@redhat.com>
Wed, 30 Aug 2017 18:22:52 +0000 (12:22 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
ansible/roles/ceph-grafana/tasks/configure_grafana.yml

index e8250a0cb6af6a54ee4e27c8790b018af92de706..b7b2ec46d364affa2b68c4660d03b58e625cfe84 100644 (file)
     src: files/dashboards
     dest: /tmp/
   when: devel_mode
+  tags:
+    - dashboards
 
 - name: Ship dashUpdater.py
   copy:
     src: files/dashUpdater.py
     dest: /tmp/dashUpdater.py
   when: devel_mode
+  tags:
+    - dashboards
 
 - name: Write dashboard.yml
   template:
     src: dashboard.yml
     dest: /tmp/dashboard.yml
     mode: 0600
+  tags:
+    - dashboards
 
 - name: Set dashupdate_cmd and dashboard_dir
   set_fact:
     dashupdate_cmd: "python /tmp/dashUpdater.py"
     dashboard_dir: "/tmp/dashboards"
   when: devel_mode
+  tags:
+    - dashboards
 
 - name: Set dashupdate_cmd and dashboard_dir
   set_fact:
     dashupdate_cmd: "/usr/libexec/cephmetrics/dashUpdater.py"
     dashboard_dir: "/usr/share/cephmetrics/dashboards"
   when: not devel_mode
+  tags:
+    - dashboards
 
 - name: Set dashupdate_mode
   set_fact:
     dashupdate_mode: "{{ 'refresh' if replace_dashboards else 'update' }}"
+  tags:
+    - dashboards
 
 - name: Push dashboards to Grafana
   command: "{{ dashupdate_cmd }} -m {{ dashupdate_mode }} -c /tmp/dashboard.yml -D {{ dashboard_dir }}"
+  tags:
+    - dashboards