blob: c4d49ac32c7518790dd6fcbdfe291917be6de3dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
- name: Configure volume domains
include_tasks: 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_tasks: mount_domain.yml
when: ( domain.clients | default("---") ) in group_names
with_items: "{{ glusterfs_domains }}"
loop_control:
loop_var: domain
|