summaryrefslogtreecommitdiffstats
path: root/roles/glusterfs/tasks/iterate_domains.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/glusterfs/tasks/iterate_domains.yml')
-rw-r--r--roles/glusterfs/tasks/iterate_domains.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/glusterfs/tasks/iterate_domains.yml b/roles/glusterfs/tasks/iterate_domains.yml
index e061652..7378e34 100644
--- a/roles/glusterfs/tasks/iterate_domains.yml
+++ b/roles/glusterfs/tasks/iterate_domains.yml
@@ -1,7 +1,9 @@
- name: Process all storage domains
include_tasks: "iterate_volumes.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