summaryrefslogtreecommitdiffstats
path: root/roles/docker-storage-setup/templates
diff options
context:
space:
mode:
authorEduardo Minguez Perez <edu@redhat.com>2017-05-16 16:21:10 +0200
committerRyan Cook <rcook@redhat.com>2017-05-16 11:04:46 -0400
commit215807f53977bc561b3791e37136f140383605ef (patch)
tree1362a97bbb861cc6b1802e970b4956d5816af8c2 /roles/docker-storage-setup/templates
parente93b30fb20c0b13a40488b714549f3483e8b0a1d (diff)
downloadopenshift-215807f53977bc561b3791e37136f140383605ef.tar.gz
openshift-215807f53977bc561b3791e37136f140383605ef.tar.bz2
openshift-215807f53977bc561b3791e37136f140383605ef.tar.xz
openshift-215807f53977bc561b3791e37136f140383605ef.zip
Removed hardcoded values from ansible roles
Diffstat (limited to 'roles/docker-storage-setup/templates')
-rw-r--r--roles/docker-storage-setup/templates/docker-storage-setup.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/docker-storage-setup/templates/docker-storage-setup.j2 b/roles/docker-storage-setup/templates/docker-storage-setup.j2
new file mode 100644
index 000000000..a5203d7e4
--- /dev/null
+++ b/roles/docker-storage-setup/templates/docker-storage-setup.j2
@@ -0,0 +1,4 @@
+DEVS="{{ docker_devs }}"
+VG="{{ docker_vg }}"
+DATA_SIZE="{{ docker_data_size }}"
+EXTRA_DOCKER_STORAGE_OPTIONS="--storage-opt dm.basesize={{ docker_dm_basesize }}"