Added cinder block storage.

This commit is contained in:
Egon Rijpkema
2017-08-28 11:50:57 +02:00
parent b148b04a0b
commit 5571858b23
5 changed files with 28 additions and 4 deletions

View File

@ -31,8 +31,8 @@
state: directory
mode: 0777
with_items:
- /srv/cinder
- /srv/cinder/root
- /srv/cinder-controller
- /srv/cinder-controller/root
- name: install service file.
template:
@ -48,7 +48,7 @@
command: >
/usr/bin/docker run --rm
{{ env_vars }}
-v /srv/cinder/root:/root \
-v /srv/cinder-controller/root:/root \
{{ docker_image }} /etc/bootstrap.sh
tags: bootstrap