Don't recurse when creating bind mount directories
The 'Ensure bind mount host directories exists' task does not provide any attributes so recursing is unnecessary. If a parent directory does not exist, Ansible will automatically create it. Change-Id: Ia71518e87362c52b849b1baac5a7e17f86e83865
This commit is contained in:
parent
9c234be15c
commit
c9d55cd0fb
@ -37,7 +37,6 @@
|
||||
file:
|
||||
path: "{{ item['host_directory'] }}"
|
||||
state: "directory"
|
||||
recurse: true
|
||||
with_items: "{{ lxc_container_default_bind_mounts | union(lxc_container_bind_mounts) }}"
|
||||
delegate_to: "{{ physical_host }}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user