Merge pull request #52 from david-baylibre/fix-folder-duplicate-checks

Fix folder duplicate checks
This commit is contained in:
Jeff Geerling 2024-08-27 15:46:43 -05:00 committed by GitHub
commit e841b63e3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: