Better fix for Ansible Lint failure on rule 208.

This commit is contained in:
Jeff Geerling 2020-08-31 09:30:37 -05:00
parent 10e340eea9
commit 24b790d6e7

View file

@ -23,10 +23,9 @@
when: ansible_os_family == 'Debian'
- name: Ensure directories to export exist
file:
file: # noqa 208
path: "{{ item.strip().split()[0] }}"
state: directory
mode: preserve
with_items: "{{ nfs_exports }}"
- name: Copy exports file.