blob: 1a853785ad0f11adcee31fa202de228bd1b64c36 (
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([]) | intersect(group_names) | length > 0
with_items: "{{ glusterfs_domains }}"
loop_control:
loop_var: domain
|