summaryrefslogtreecommitdiffstats
path: root/roles/glusterfs/tasks/create_domain.yml
blob: 8f8042bf405d6f5c4141fea6233fcec39d87914a (plain)
1
2
3
4
5
6
7
8
---
- name: Configure volumes
  include_tasks: create_volume.yml
  with_dict: "{{ domain.volumes }}"
  vars:
    domain_servers: "{{ groups[domain.servers] | map('extract', hostvars, 'ands_storage_hostname') | list }}"
  loop_control:
    loop_var: volume