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.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/glusterfs/tasks/volumes.yml b/roles/glusterfs/tasks/volumes.yml
index 1a85378..96363b8 100644
--- a/roles/glusterfs/tasks/volumes.yml
+++ b/roles/glusterfs/tasks/volumes.yml
@@ -1,7 +1,9 @@
- name: Configure volume domains
include_tasks: create_domain.yml
- run_once: true
- delegate_to: "{{ groups[domain.servers][0] }}"
+ args:
+ apply:
+ run_once: true
+ delegate_to: "{{ groups[domain.servers][0] }}"
with_items: "{{ glusterfs_domains }}"
loop_control:
loop_var: domain