From: Andrew Schoen Date: Thu, 5 May 2016 18:59:36 +0000 (-0500) Subject: use the use_systemd fact when starting OSDs X-Git-Tag: v1.0.6~140^2~5 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5669b6ba7c2e021bd53088ea774508983dab11d3;p=ceph-ansible.git use the use_systemd fact when starting OSDs Signed-off-by: Andrew Schoen --- diff --git a/roles/ceph-osd/tasks/activate_osds.yml b/roles/ceph-osd/tasks/activate_osds.yml index 1a8841f24..6f0f24b37 100644 --- a/roles/ceph-osd/tasks/activate_osds.yml +++ b/roles/ceph-osd/tasks/activate_osds.yml @@ -74,7 +74,7 @@ failed_when: false register: osd_id when: - ansible_distribution != "Ubuntu" and + use_systemd and is_after_hammer - name: enable osd service instance(s) (for or after infernalis) @@ -85,7 +85,7 @@ with_items: osd_id.stdout_lines failed_when: false when: - ansible_distribution != "Ubuntu" and + use_systemd and is_after_hammer - 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 changed_when: false when: - ansible_distribution != "Ubuntu" and + use_systemd and is_after_hammer