mirror of https://github.com/ceph/ceph-ansible.git
use the use_systemd fact when starting OSDs
Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/758/head
parent
20d2d52ebd
commit
5669b6ba7c
|
@ -74,7 +74,7 @@
|
||||||
failed_when: false
|
failed_when: false
|
||||||
register: osd_id
|
register: osd_id
|
||||||
when:
|
when:
|
||||||
ansible_distribution != "Ubuntu" and
|
use_systemd and
|
||||||
is_after_hammer
|
is_after_hammer
|
||||||
|
|
||||||
- name: enable osd service instance(s) (for or after infernalis)
|
- name: enable osd service instance(s) (for or after infernalis)
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
with_items: osd_id.stdout_lines
|
with_items: osd_id.stdout_lines
|
||||||
failed_when: false
|
failed_when: false
|
||||||
when:
|
when:
|
||||||
ansible_distribution != "Ubuntu" and
|
use_systemd and
|
||||||
is_after_hammer
|
is_after_hammer
|
||||||
|
|
||||||
- name: start and add that the osd service(s) to the init sequence (for or after infernalis)
|
- name: start and add that the osd service(s) to the init sequence (for or after infernalis)
|
||||||
|
@ -96,5 +96,5 @@
|
||||||
with_items: osd_id.stdout_lines
|
with_items: osd_id.stdout_lines
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
ansible_distribution != "Ubuntu" and
|
use_systemd and
|
||||||
is_after_hammer
|
is_after_hammer
|
||||||
|
|
Loading…
Reference in New Issue