git push --set-upstream origin merlin
This commit is contained in:
2
roles/nova-compute/tasks/ceph.conf
Normal file
2
roles/nova-compute/tasks/ceph.conf
Normal file
@ -0,0 +1,2 @@
|
||||
[client.nova]
|
||||
keyring = /etc/ceph/ceph.client.nova.keyring
|
@ -16,6 +16,27 @@
|
||||
force: True
|
||||
tags: pull
|
||||
|
||||
- name: Make build and persistent directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
mode: 0777
|
||||
with_items:
|
||||
- /srv/nova-compute
|
||||
- /srv/nova-compute/etc/ceph
|
||||
|
||||
- name: copy ceph-client configurationfile
|
||||
copy:
|
||||
src: files/ceph.conf
|
||||
dest: /srv/nova-compute/etc/ceph/ceph.conf
|
||||
mode: 644
|
||||
|
||||
- name: copy ceph-client-keyring
|
||||
copy:
|
||||
src: files/ceph.client.nova.keyring
|
||||
dest: /srv/nova-compute/etc/ceph/ceph.client.nova.keyring
|
||||
mode: 644
|
||||
|
||||
- name: install service file.
|
||||
template:
|
||||
src: templates/nova-compute.service
|
||||
|
Reference in New Issue
Block a user