]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commitdiff
Name unnamed tasks
authorZack Cerza <zack@redhat.com>
Mon, 26 Jun 2017 19:19:21 +0000 (13:19 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 26 Jun 2017 23:46:27 +0000 (17:46 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
ansible/roles/ceph-collectd/tasks/install_collectd_plugins.yml
ansible/roles/ceph-grafana/tasks/configure_carbon.yml
ansible/roles/ceph-grafana/tasks/configure_grafana.yml
ansible/roles/ceph-grafana/tasks/grafana_plugins.yml

index 5cf05e527177d365509bcc10da01ef63065156ae..34f74895a00441d0e973748b4268f686ba81da13 100644 (file)
@@ -1,5 +1,6 @@
 ---
-- set_fact:
+- name: Set collectd_dir
+  set_fact:
     collectd_dir: /usr/lib64/collectd/cephmetrics
 
 - name: Create collectors directory
index 6a7bbe798204128f7457ce5cd2a048a3a31060de..e51a3d6f2efb610a13652668270fff885a587853 100644 (file)
@@ -1,5 +1,6 @@
 ---
-- set_fact:
+- name: Set whisper_retention
+  set_fact:
     # Changing collectd_interval is not supported at this time
     whisper_retention: "{{ collectd_interval|default('10') }}s:7d,1m:30d,15m:5y"
 
index 8099dd4d24d919df01eb62fca3ccedd4e24c60f2..1309fb6ff8ee1d759d71a1050b85af3bc466b9ea 100644 (file)
@@ -39,7 +39,8 @@
   wait_for:
     port: 3000
 
-- set_fact:
+- name: Set grafana_data_source
+  set_fact:
     grafana_data_source: >
       {
         "name":"{{ graphite.grafana_name }}",
     src: dashboard.yml
     dest: /tmp/dashboard.yml
 
-- set_fact:
+- name: Set dashupdate_cmd and dashboard_dir
+  set_fact:
     dashupdate_cmd: "python /tmp/dashUpdater.py"
     dashboard_dir: "/tmp/dashboards"
   when: devel_mode
 
-- set_fact:
+- 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
 
-- set_fact:
+- name: Set dashupdate_mode
+  set_fact:
     dashupdate_mode: "{{ 'refresh' if replace_dashboards else 'update' }}"
 
 - name: Push dashboards to Grafana
index a58bad078d834799732ec8680dd5427fc29393c0..84dec0d4e29d0984c2acf85c38b8bc29c1efd0a1 100644 (file)
@@ -4,7 +4,8 @@
     name: /var/lib/grafana/plugins
     state: directory
 
-- set_fact:
+- name: Set grafana_plugins
+  set_fact:
     grafana_plugins: "['vonage-status-panel', 'grafana-piechart-panel']"
 
 - name: Install Grafana plugins