mirror of
https://github.com/geerlingguy/ansible-role-nfs
synced 2024-11-03 10:33:29 +01:00
Merge pull request #52 from david-baylibre/fix-folder-duplicate-checks
Fix folder duplicate checks
This commit is contained in:
commit
e841b63e3b
1 changed files with 2 additions and 2 deletions
|
@ -18,9 +18,9 @@
|
|||
|
||||
- name: Ensure directories to export exist
|
||||
file: # noqa 208
|
||||
path: "{{ item.strip().split()[0] }}"
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items: "{{ nfs_exports }}"
|
||||
with_items: "{{ nfs_exports | map('split') | map('first') | unique }}"
|
||||
|
||||
- name: Copy exports file.
|
||||
template:
|
||||
|
|
Loading…
Reference in a new issue