diff --git a/roles/glance-controller/tasks/main.yml b/roles/glance-controller/tasks/main.yml index 7db1376..95aaae7 100644 --- a/roles/glance-controller/tasks/main.yml +++ b/roles/glance-controller/tasks/main.yml @@ -36,6 +36,18 @@ - /srv/glance/root - /srv/glance/etc/ceph +- name: copy ceph-client configurationfile + copy: + src: files/ceph.conf + dest: /srv/glance/etc/ceph/ceph.conf + mode: 0644 + +- name: copy ceph-client-keyring + copy: + src: files/ceph.client.images.keyring + dest: /srv/glance/etc/ceph/ceph.client.volumes.keyring + mode: 0644 + - name: install service file. template: src: templates/glance.service