summaryrefslogtreecommitdiffstats
path: root/roles/glusterfs/tasks/create_domain.yml
blob: b3fc89ef7fa57312b3a968c5cbc40164a2e23937 (plain)
1
2
3
4
5
6
7
8
---
- name: Configure volumes
  include: 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