summaryrefslogtreecommitdiffstats
path: root/roles/glusterfs/tasks/volumes.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/glusterfs/tasks/volumes.yml')
-rw-r--r--roles/glusterfs/tasks/volumes.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/glusterfs/tasks/volumes.yml b/roles/glusterfs/tasks/volumes.yml
index e393c08..c4d49ac 100644
--- a/roles/glusterfs/tasks/volumes.yml
+++ b/roles/glusterfs/tasks/volumes.yml
@@ -1,5 +1,5 @@
- name: Configure volume domains
- include: create_domain.yml
+ include_tasks: create_domain.yml
run_once: true
delegate_to: "{{ groups[domain.servers][0] }}"
with_items: "{{ glusterfs_domains }}"
@@ -7,7 +7,7 @@
loop_var: domain
- name: Mount volume domains
- include: mount_domain.yml
+ include_tasks: mount_domain.yml
when: ( domain.clients | default("---") ) in group_names
with_items: "{{ glusterfs_domains }}"
loop_control: