summaryrefslogtreecommitdiffstats
path: root/roles/container_runtime/tasks
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-12-19 11:02:28 -0500
committerKenny Woodson <kwoodson@redhat.com>2017-12-19 16:22:37 -0500
commit5c6af565bfae851b493c8b4670d56f69016de3bb (patch)
treee6804ce02706bbd945f34e66e54d2ed1c274c616 /roles/container_runtime/tasks
parent7ab8e67bfc62e16466e3fd211fded63f16583403 (diff)
downloadopenshift-5c6af565bfae851b493c8b4670d56f69016de3bb.tar.gz
openshift-5c6af565bfae851b493c8b4670d56f69016de3bb.tar.bz2
openshift-5c6af565bfae851b493c8b4670d56f69016de3bb.tar.xz
openshift-5c6af565bfae851b493c8b4670d56f69016de3bb.zip
Adding support for docker-storage-setup on overlay
Diffstat (limited to 'roles/container_runtime/tasks')
-rw-r--r--roles/container_runtime/tasks/docker_storage_setup_overlay.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/container_runtime/tasks/docker_storage_setup_overlay.yml b/roles/container_runtime/tasks/docker_storage_setup_overlay.yml
new file mode 100644
index 000000000..782c002e3
--- /dev/null
+++ b/roles/container_runtime/tasks/docker_storage_setup_overlay.yml
@@ -0,0 +1,10 @@
+---
+- name: Setup the docker-storage for overlay
+ template:
+ src: docker_storage_setup.j2
+ dest: /etc/sysconfig/docker-storage-setup
+ owner: root
+ group: root
+ mode: 0664
+ when:
+ - container_runtime_docker_storage_type == 'overlay2'