summaryrefslogtreecommitdiffstats
path: root/roles/glusterfs/tasks/volumes.yml
blob: e393c086d954b61d30ad5a2fadc5f548d8e92142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- name: Configure volume domains
  include: create_domain.yml
  run_once: true
  delegate_to: "{{ groups[domain.servers][0] }}"
  with_items: "{{ glusterfs_domains }}"
  loop_control:
    loop_var: domain  

- name: Mount volume domains
  include: mount_domain.yml
  when: ( domain.clients | default("---") ) in group_names
  with_items: "{{ glusterfs_domains }}"
  loop_control:
    loop_var: domain