mirror of
https://github.com/geerlingguy/ansible-role-nfs
synced 2024-12-05 00:50:18 +01:00
Ensure directories to export exist
This commit is contained in:
parent
d25407f994
commit
7579b0852d
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue