remove DEVS from storage config if no pv defined
This commit is contained in:
parent
9c7d801eea
commit
aa54d73564
@ -1,6 +1,9 @@
|
|||||||
|
#jinja2: lstrip_blocks: True
|
||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
STORAGE_DRIVER=overlay2
|
STORAGE_DRIVER=overlay2
|
||||||
|
{% if dockerengine_storage_pvs is defined %}
|
||||||
DEVS={{ dockerengine_storage_pvs }}
|
DEVS={{ dockerengine_storage_pvs }}
|
||||||
|
{% endif %}
|
||||||
CONTAINER_ROOT_LV_NAME={{ dockerengine_storage_lv }}
|
CONTAINER_ROOT_LV_NAME={{ dockerengine_storage_lv }}
|
||||||
CONTAINER_ROOT_LV_SIZE={{ dockerengine_storage_size }}
|
CONTAINER_ROOT_LV_SIZE={{ dockerengine_storage_size }}
|
||||||
CONTAINER_ROOT_LV_MOUNT_PATH={{ dockerengine_base_dir }}
|
CONTAINER_ROOT_LV_MOUNT_PATH={{ dockerengine_base_dir }}
|
||||||
|
Loading…
Reference in New Issue
Block a user