git push --set-upstream origin merlin
This commit is contained in:
@ -6,6 +6,9 @@
|
||||
name: secrets
|
||||
tags: vars
|
||||
|
||||
#- command: uuidgen
|
||||
# register: uuid
|
||||
|
||||
- set_fact:
|
||||
docker_image: registry.webhosting.rug.nl/hpc/openstack-cinder-storage:latest
|
||||
env_vars: >
|
||||
@ -36,6 +39,7 @@
|
||||
with_items:
|
||||
- /srv/cinder-storage
|
||||
- /srv/cinder-storage/root
|
||||
- /srv/cinder-storage/etc/ceph
|
||||
|
||||
- name: initial setup
|
||||
command: >
|
||||
@ -43,10 +47,22 @@
|
||||
--privileged
|
||||
{{ env_vars }}
|
||||
-v /srv/cinder-storage/root:/root \
|
||||
-v "{{ storage_volume }}":/dev/cinder_storage_volume \
|
||||
{{ docker_image }} /etc/bootstrap.sh
|
||||
tags: bootstrap
|
||||
|
||||
- name: copy ceph-client configurationfile
|
||||
copy:
|
||||
src: files/ceph.conf
|
||||
dest: /srv/cinder-storage/etc/ceph/ceph.conf
|
||||
mode: 644
|
||||
|
||||
- name: copy ceph-client-keyring
|
||||
copy:
|
||||
src: files/ceph.client.volumes.keyring
|
||||
dest: /srv/cinder-storage/etc/ceph/ceph.client.volumes.keyring
|
||||
mode: 644
|
||||
|
||||
|
||||
- name: install service file.
|
||||
template:
|
||||
src: templates/cinder-storage.service
|
||||
|
Reference in New Issue
Block a user