mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #781 from ceph/no-symlink-systemd
Do not create symlinks for systemd manuallypull/793/head
commit
746a384e03
|
@ -71,10 +71,7 @@
|
||||||
when: not use_systemd
|
when: not use_systemd
|
||||||
|
|
||||||
- name: enable systemd unit file for mds instance (for or after infernalis)
|
- name: enable systemd unit file for mds instance (for or after infernalis)
|
||||||
file:
|
command: systemctl enable ceph-mds@{{ mds_name }}
|
||||||
src: /usr/lib/systemd/system/ceph-mds@.service
|
|
||||||
dest: /etc/systemd/system/multi-user.target.wants/ceph-mds@{{ mds_name }}.service
|
|
||||||
state: link
|
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
when:
|
when:
|
||||||
|
|
|
@ -77,13 +77,11 @@
|
||||||
- use_systemd
|
- use_systemd
|
||||||
- is_after_hammer
|
- is_after_hammer
|
||||||
|
|
||||||
- name: enable osd service instance(s) (for or after infernalis)
|
- name: enable the osd service (for or after infernalis)
|
||||||
file:
|
command: systemctl enable ceph-osd@{{ item }}
|
||||||
src: /usr/lib/systemd/system/ceph-osd@.service
|
changed_when: false
|
||||||
dest: /etc/systemd/system/multi-user.target.wants/ceph-osd@{{ item }}.service
|
|
||||||
state: link
|
|
||||||
with_items: osd_id.stdout_lines
|
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
with_items: osd_id.stdout_lines
|
||||||
when:
|
when:
|
||||||
- use_systemd
|
- use_systemd
|
||||||
- is_after_hammer
|
- is_after_hammer
|
||||||
|
|
|
@ -15,10 +15,7 @@
|
||||||
- is_before_infernalis
|
- is_before_infernalis
|
||||||
|
|
||||||
- name: enable systemd unit file for the rbd mirror service (systemd after hammer)
|
- name: enable systemd unit file for the rbd mirror service (systemd after hammer)
|
||||||
file:
|
command: systemctl enable ceph-rbd-mirror@{{ ceph_rbd_mirror_local_user }}
|
||||||
src: /usr/lib/systemd/system/ceph-rbd-mirror@.service
|
|
||||||
dest: "/etc/systemd/system/multi-user.target.wants/ceph-rbd-mirror@{{ ceph_rbd_mirror_local_user }}.service"
|
|
||||||
state: link
|
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
when:
|
when:
|
||||||
|
|
|
@ -29,10 +29,7 @@
|
||||||
- is_before_infernalis
|
- is_before_infernalis
|
||||||
|
|
||||||
- name: enable systemd unit file for rgw instance (for or after infernalis)
|
- name: enable systemd unit file for rgw instance (for or after infernalis)
|
||||||
file:
|
command: systemctl enable ceph-radosgw@rgw.{{ ansible_hostname }}
|
||||||
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
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in New Issue