mirror of
https://github.com/geerlingguy/ansible-role-nfs
synced 2024-12-05 00:50:18 +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
|
- name: Ensure directories to export exist
|
||||||
file: # noqa 208
|
file: # noqa 208
|
||||||
path: "{{ item.strip().split()[0] }}"
|
path: "{{ item }}"
|
||||||
state: directory
|
state: directory
|
||||||
with_items: "{{ nfs_exports }}"
|
with_items: "{{ nfs_exports | map('split') | map('first') | unique }}"
|
||||||
|
|
||||||
- name: Copy exports file.
|
- name: Copy exports file.
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue