]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commitdiff
Properly support iscsis
authorBoris Ranto <branto@redhat.com>
Thu, 22 Nov 2018 17:04:21 +0000 (18:04 +0100)
committerBoris Ranto <branto@redhat.com>
Wed, 28 Nov 2018 13:01:31 +0000 (14:01 +0100)
The ceph-ansible playbook uses iscsigws instead of iscsis.

Signed-off-by: Boris Ranto <branto@redhat.com>
ansible/playbook.yml
ansible/roles/ceph-prometheus/templates/prometheus.yml

index add9eafcf5245de126132d9921f0d559ca58deda..2e48c17ccaac13f88bce92c4cdfc1c840011e276 100644 (file)
@@ -30,7 +30,7 @@
   - rbdmirrors
   - clients
   - mgrs
-  - iscsis
+  - iscsigws
   # This role is (so far) only used for testing
   - cluster
   become: true
index 038c789083edc8ccd59a9ab19ab62381395a9c41..398127b5bb488aa5e03a8b4062f34756d7ee3285 100644 (file)
@@ -28,10 +28,10 @@ scrape_configs:
         labels:
           instance: "{{ hostvars[host]['ansible_nodename'] }}"
 {% endfor %}
-{% if 'iscsis' in groups %}
+{% if 'iscsigws' in groups %}
   - job_name: 'iscsi-gws'
     static_configs:
-{% for host in groups['iscsis'] %}
+{% for host in groups['iscsigws'] %}
       - targets: ['{{ host }}:9287']
         labels:
           instance: "{{ hostvars[host]['ansible_nodename'] }}"