Ensure directories to export exist

This commit is contained in:
Wei Tie 2016-02-02 11:50:55 +08:00
parent d25407f994
commit 7579b0852d

View file

@ -10,6 +10,10 @@
- include: setup-Debian.yml
when: ansible_os_family == 'Debian'
- name: Ensure directories to export exist
file: path="{{ item.strip().split()[0] }}" state=directory
with_items: nfs_exports
- name: Copy exports file.
template:
src: exports.j2