mirror of https://github.com/ceph/ceph-ansible.git
commit
4eb728ff5f
|
@ -8,6 +8,7 @@
|
||||||
mode: "{{ dir_mode }}"
|
mode: "{{ dir_mode }}"
|
||||||
with_items:
|
with_items:
|
||||||
- /var/lib/ceph/bootstrap-rgw
|
- /var/lib/ceph/bootstrap-rgw
|
||||||
|
- /var/lib/ceph/radosgw
|
||||||
- /var/lib/ceph/radosgw/ceph-rgw.{{ ansible_hostname }}
|
- /var/lib/ceph/radosgw/ceph-rgw.{{ ansible_hostname }}
|
||||||
- "{{ rbd_client_admin_socket_path }}"
|
- "{{ rbd_client_admin_socket_path }}"
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,17 @@
|
||||||
ansible_os_family == 'RedHat' and
|
ansible_os_family == 'RedHat' and
|
||||||
not is_ceph_infernalis
|
not is_ceph_infernalis
|
||||||
|
|
||||||
|
- name: enable systemd unit file for rgw instance (for or after infernalis)
|
||||||
|
file:
|
||||||
|
src: /usr/lib/systemd/system/ceph-radosgw@.service
|
||||||
|
dest: /etc/systemd/system/multi-user.target.wants/ceph-radosgw@rgw.{{ ansible_hostname }}.service
|
||||||
|
state: link
|
||||||
|
changed_when: false
|
||||||
|
failed_when: false
|
||||||
|
when:
|
||||||
|
ansible_distribution != "Ubuntu" and
|
||||||
|
is_ceph_infernalis
|
||||||
|
|
||||||
- name: start rgw on red hat (after infernalis)
|
- name: start rgw on red hat (after infernalis)
|
||||||
service:
|
service:
|
||||||
name: ceph-radosgw@rgw.{{ ansible_hostname }}
|
name: ceph-radosgw@rgw.{{ ansible_hostname }}
|
||||||
|
|
Loading…
Reference in New Issue