2016-04-04 06:35:09 +08:00
|
|
|
---
|
|
|
|
- name: install dependencies
|
|
|
|
# XXX Determine what RH repository this will belong to so that it can be
|
|
|
|
# properly checked and errored if the repository is not enabled.
|
2016-11-28 22:16:56 +08:00
|
|
|
package:
|
2016-04-04 06:35:09 +08:00
|
|
|
name: rbd-mirror
|
|
|
|
state: present
|
|
|
|
tags:
|
|
|
|
- package-install
|
|
|
|
|
|
|
|
- name: copy ceph admin key
|
|
|
|
copy:
|
|
|
|
src: "{{ fetch_directory }}/{{ fsid }}/etc/ceph/{{ cluster }}.client.admin.keyring"
|
|
|
|
dest: "/etc/ceph/{{ cluster }}.client.admin.keyring"
|
2017-01-20 17:14:35 +08:00
|
|
|
owner: "ceph"
|
|
|
|
group: "ceph"
|
|
|
|
mode: "0600"
|
2016-05-09 22:08:33 +08:00
|
|
|
when: cephx
|