The ceph-ansible playbook uses iscsigws instead of iscsis.
Signed-off-by: Boris Ranto <branto@redhat.com>
- rbdmirrors
- clients
- mgrs
- - iscsis
+ - iscsigws
# This role is (so far) only used for testing
- cluster
become: true
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'] }}"