ceph-ansible/roles/ceph-radosgw/tasks/main.yml

18 lines
477 B
YAML
Raw Normal View History

---
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
## Check OS family
#
- include: install_redhat.yml
when: ansible_os_family == 'RedHat'
- include: install_debian.yml
when: ansible_os_family == 'Debian'