summaryrefslogtreecommitdiffstats
path: root/roles/container_runtime/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-12-20 09:30:17 -0500
committerGitHub <noreply@github.com>2017-12-20 09:30:17 -0500
commita5de165b8e7113631a30ef0e4a20b5f74db073f0 (patch)
treee617e6e099562437ece02ed432afccb61d6318b8 /roles/container_runtime/tasks
parent33450f75b336744615c066a34d7391cc9996af18 (diff)
parent5c6af565bfae851b493c8b4670d56f69016de3bb (diff)
downloadopenshift-a5de165b8e7113631a30ef0e4a20b5f74db073f0.tar.gz
openshift-a5de165b8e7113631a30ef0e4a20b5f74db073f0.tar.bz2
openshift-a5de165b8e7113631a30ef0e4a20b5f74db073f0.tar.xz
openshift-a5de165b8e7113631a30ef0e4a20b5f74db073f0.zip
Merge pull request #6524 from kwoodson/docker_storage_setup_overlay
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'