diff options
Diffstat (limited to 'roles/glusterfs/tasks/iterate_domains.yml')
-rw-r--r-- | roles/glusterfs/tasks/iterate_domains.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/glusterfs/tasks/iterate_domains.yml b/roles/glusterfs/tasks/iterate_domains.yml new file mode 100644 index 0000000..e061652 --- /dev/null +++ b/roles/glusterfs/tasks/iterate_domains.yml @@ -0,0 +1,7 @@ +- name: Process all storage domains + include_tasks: "iterate_volumes.yml" + run_once: true + delegate_to: "{{ groups[domain.servers][0] }}" + with_items: "{{ glusterfs_domains }}" + loop_control: + loop_var: domain |