summaryrefslogtreecommitdiffstats
path: root/roles/glusterfs/tasks/volumes.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/glusterfs/tasks/volumes.yml')
-rw-r--r--roles/glusterfs/tasks/volumes.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/glusterfs/tasks/volumes.yml b/roles/glusterfs/tasks/volumes.yml
index c4d49ac..1a85378 100644
--- a/roles/glusterfs/tasks/volumes.yml
+++ b/roles/glusterfs/tasks/volumes.yml
@@ -8,7 +8,7 @@
- name: Mount volume domains
include_tasks: mount_domain.yml
- when: ( domain.clients | default("---") ) in group_names
+ when: domain.clients | default([]) | intersect(group_names) | length > 0
with_items: "{{ glusterfs_domains }}"
loop_control:
loop_var: domain