Browse Source

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
Ryan Cook 8 years ago
parent
commit
f0ca54ac5c

+ 4 - 0
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"

+ 8 - 0
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