|
@@ -55,6 +55,20 @@ openshift_docker_is_node_or_master: "{{ True if inventory_hostname in (groups['o
|
|
|
|
|
|
docker_alt_storage_path: /var/lib/containers/docker
|
|
docker_alt_storage_path: /var/lib/containers/docker
|
|
docker_default_storage_path: /var/lib/docker
|
|
docker_default_storage_path: /var/lib/docker
|
|
|
|
+docker_storage_path: "{{ docker_default_storage_path }}"
|
|
|
|
+docker_storage_size: 40G
|
|
|
|
+docker_storage_setup_options:
|
|
|
|
+ vg: docker_vg
|
|
|
|
+ data_size: 99%VG
|
|
|
|
+ storage_driver: overlay2
|
|
|
|
+ root_lv_name: docker-root-lv
|
|
|
|
+ root_lv_size: 100%FREE
|
|
|
|
+ root_lv_mount_path: "{{ docker_storage_path }}"
|
|
|
|
+docker_storage_extra_options:
|
|
|
|
+- "--storage-opt overlay2.override_kernel_check=true"
|
|
|
|
+- "--storage-opt overlay2.size={{ docker_storage_size }}"
|
|
|
|
+- "--graph={{ docker_storage_path}}"
|
|
|
|
+
|
|
|
|
|
|
# Set local versions of facts that must be in json format for container-daemon.json
|
|
# Set local versions of facts that must be in json format for container-daemon.json
|
|
# NOTE: When jinja2.9+ is used the container-daemon.json file can move to using tojson
|
|
# NOTE: When jinja2.9+ is used the container-daemon.json file can move to using tojson
|