mirror of https://github.com/ceph/ceph-ansible.git
Fix pre-infernalis RPM installation of ceph-radosgw
For pre-infernalis installation of ceph-radosgw from RPM, run 'chkconfig' to ensure systemd's ceph-radosgw.service is created. This fixes issue #843.pull/938/head
parent
e92d9fbce0
commit
91d2c3b32d
|
@ -41,6 +41,14 @@
|
||||||
group: "{{ key_group }}"
|
group: "{{ key_group }}"
|
||||||
when: cephx
|
when: cephx
|
||||||
|
|
||||||
|
- name: ensure ceph-radosgw systemd unit file is present
|
||||||
|
command: chkconfig --add ceph-radosgw
|
||||||
|
args:
|
||||||
|
creates: /var/run/systemd/generator.late/ceph-radosgw.service
|
||||||
|
when:
|
||||||
|
- ansible_os_family == "RedHat"
|
||||||
|
- is_before_infernalis
|
||||||
|
|
||||||
- name: activate rados gateway with upstart
|
- name: activate rados gateway with upstart
|
||||||
file:
|
file:
|
||||||
path: /var/lib/ceph/radosgw/{{ cluster }}-rgw.{{ ansible_hostname }}/{{ item }}
|
path: /var/lib/ceph/radosgw/{{ cluster }}-rgw.{{ ansible_hostname }}/{{ item }}
|
||||||
|
|
Loading…
Reference in New Issue