Mounting the whole of /dev/now in cinder-storage

This commit is contained in:
Egon Rijpkema
2018-12-14 16:16:50 +01:00
parent f011919666
commit 25e2467edc
2 changed files with 3 additions and 4 deletions

View File

@ -22,6 +22,7 @@
-e "RABBIT_PASSWORD={{ secrets['RABBIT_PASSWORD'] }}"
-e "AVAILABILITY_ZONE={{ ansible_nodename }}"
-e "RABBIT_USER=openstack"
-e "CINDER_STORAGE_VOLUME={{ storage_volume }}"
tags: vars
- name: pull docker image
@ -44,7 +45,7 @@
--privileged
{{ env_vars }}
-v /srv/cinder-storage/root:/root \
-v "{{ storage_volume }}":/dev/cinder_storage_volume \
-v /dev:/dev \
{{ docker_image }} /etc/bootstrap.sh
tags: bootstrap