xoxys.docker_engine/templates/etc/sysconfig/docker-storage-setup.j2
Robert Kaussow a20d2e92cc
All checks were successful
continuous-integration/drone/push Build is passing
set lvm options only if pv is defined
2020-10-11 23:50:25 +02:00

11 lines
376 B
Django/Jinja

#jinja2: lstrip_blocks: True
{{ ansible_managed | comment }}
STORAGE_DRIVER=overlay2
{% if dockerengine_storage_pvs is defined %}
DEVS={{ dockerengine_storage_pvs }}
CONTAINER_ROOT_LV_NAME={{ dockerengine_storage_lv }}
CONTAINER_ROOT_LV_SIZE={{ dockerengine_storage_size }}
CONTAINER_ROOT_LV_MOUNT_PATH={{ dockerengine_base_dir }}
VG={{ dockerengine_storage_vg }}
{% endif %}