Change-Id: Ib4cb70615af8da2f1037b0a43520c215365979batags/2017.4
@@ -37,6 +37,9 @@ lvm_{{ vg.get('name', vgname) }}_lv_{{ volume.get('name', lvname) }}: | |||
{%- if volume.mount is defined %} | |||
- require_in: | |||
- mount: {{ volume.mount.path }} | |||
{%- if not volume.mount.get('file_system', None) in ['nfs', 'nfs4', 'cifs', 'tmpfs', None] %} | |||
- mkfs_{{ volume.mount.device}}: | |||
{%- endif %} | |||
{%- endif %} | |||
{%- endfor %} |