summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorRyan Cook <rcook@redhat.com>2017-01-13 15:47:50 -0500
committerGitHub <noreply@github.com>2017-01-13 15:47:50 -0500
commitf0ca54ac5c4408284105fe877d81e8afbfbc2991 (patch)
tree142ec040e9f9d006b96b7ce417a018bf796906a8 /roles
parent9b486744a9a818569ff2fa557f38ac29b84c8774 (diff)
downloadopenshift-f0ca54ac5c4408284105fe877d81e8afbfbc2991.tar.gz
openshift-f0ca54ac5c4408284105fe877d81e8afbfbc2991.tar.bz2
openshift-f0ca54ac5c4408284105fe877d81e8afbfbc2991.tar.xz
openshift-f0ca54ac5c4408284105fe877d81e8afbfbc2991.zip
Making providers common (#126)
* Making providers common * moving directory locations * using links and removal of vars file callout * rename of file * went block crazy * cleanup * add to remove * missing Pyyaml package in README * let docker actually setup docker storage and start the service * name change * Fix for vmware. Will variablize in the future * catchup to test common providers against master * should only be schedulable nodes
Diffstat (limited to 'roles')
-rw-r--r--roles/docker-storage-setup/files/docker-storage-setup4
-rw-r--r--roles/docker-storage-setup/tasks/main.yaml8
2 files changed, 12 insertions, 0 deletions
diff --git a/roles/docker-storage-setup/files/docker-storage-setup b/roles/docker-storage-setup/files/docker-storage-setup
new file mode 100644
index 000000000..5e9d494a1
--- /dev/null
+++ b/roles/docker-storage-setup/files/docker-storage-setup
@@ -0,0 +1,4 @@
+DEVS=/dev/sdb
+VG=docker-vol
+DATA_SIZE=95%VG
+EXTRA_DOCKER_STORAGE_OPTIONS="--storage-opt dm.basesize=3G"
diff --git a/roles/docker-storage-setup/tasks/main.yaml b/roles/docker-storage-setup/tasks/main.yaml
new file mode 100644
index 000000000..32f79fff9
--- /dev/null
+++ b/roles/docker-storage-setup/tasks/main.yaml
@@ -0,0 +1,8 @@
+---
+- name: create the docker-storage-setup config file
+ copy:
+ src: docker-storage-setup
+ dest: /etc/sysconfig/docker-storage-setup
+ owner: root
+ group: root
+ mode: 0644