From 65ec58f9a6d4efdc3ff82bc705a03be9ad45153a Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Thu, 16 Nov 2017 14:58:40 +0100 Subject: [PATCH] osd: remove leftover from osd partition MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit We used to support osds that are a partition. This is long gone so removing this task. Signed-off-by: Sébastien Han (cherry picked from commit 932345ab2acaeb4467572266b050551db41ce3b7) --- roles/ceph-osd/tasks/activate_osds.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/roles/ceph-osd/tasks/activate_osds.yml b/roles/ceph-osd/tasks/activate_osds.yml index 41898d678..bedd475e0 100644 --- a/roles/ceph-osd/tasks/activate_osds.yml +++ b/roles/ceph-osd/tasks/activate_osds.yml @@ -34,13 +34,3 @@ when: " 'ceph-disk: Error: ceph osd create failed' in item.get('stderr', '') " with_items: "{{ (combined_activate_osd_disk_results|default({})).results|default([]) }}" - -# NOTE (leseb): this task is for partitions because we don't explicitly use a partition. -- name: activate osd(s) when device is a partition - command: "ceph-disk activate {{ item }}" - with_items: - - "{{ devices|unique }}" - changed_when: false - when: - - not osd_auto_discovery - - not dmcrypt -- 2.39.5