2014-03-06 20:54:37 +08:00
|
|
|
---
|
2014-09-05 03:14:11 +08:00
|
|
|
- name: Copy RGW bootstrap key
|
|
|
|
copy: src=fetch/{{ fsid }}/etc/ceph/keyring.radosgw.gateway dest=/etc/ceph/keyring.radosgw.gateway owner=root group=root mode=600
|
|
|
|
when: cephx
|
|
|
|
|
|
|
|
- name: Set RGW bootstrap key permissions
|
|
|
|
file: path=/etc/ceph/keyring.radosgw.gateway mode=0600 owner=root group=root
|
|
|
|
when: cephx
|
|
|
|
|
2014-03-06 20:54:37 +08:00
|
|
|
## Check OS family
|
|
|
|
#
|
|
|
|
|
2014-11-06 00:57:28 +08:00
|
|
|
- include: install_redhat.yml
|
2014-03-06 20:54:37 +08:00
|
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
|
2014-11-06 00:57:28 +08:00
|
|
|
- include: install_debian.yml
|
2014-03-06 20:54:37 +08:00
|
|
|
when: ansible_os_family == 'Debian'
|