summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nfs/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/nfs/tasks')
-rw-r--r--ansible/roles/nfs/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/ansible/roles/nfs/tasks/main.yml b/ansible/roles/nfs/tasks/main.yml
index 1d848876..cc5290db 100644
--- a/ansible/roles/nfs/tasks/main.yml
+++ b/ansible/roles/nfs/tasks/main.yml
@@ -23,7 +23,8 @@
- name: Add hosts to exports
template:
src: exports.j2
- dest: /etc/exports.d/dockerdata-nfs.exports
+ dest: "{{ item }}"
+ loop: "{{ nfs_destination[ansible_os_family] }}"
notify:
- reload nfs
when: