From 29888649e56aa5dcb415c8980589ece707341aa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 5 Oct 2017 18:20:18 +0200 Subject: [PATCH] osd: do not do unique on dedicated_devices MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is needed later, if we do unique, only the first OSD will get a journal. Signed-off-by: Sébastien Han --- roles/ceph-osd/tasks/check_devices.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-osd/tasks/check_devices.yml b/roles/ceph-osd/tasks/check_devices.yml index b96c64670..339b8b915 100644 --- a/roles/ceph-osd/tasks/check_devices.yml +++ b/roles/ceph-osd/tasks/check_devices.yml @@ -27,7 +27,7 @@ - name: set_fact build final dedicated_devices list set_fact: - dedicated_devices: "{{ dedicated_devices | reject('search','/dev/disk') | list | unique }}" + dedicated_devices: "{{ dedicated_devices | reject('search','/dev/disk') | list }}" when: - osd_scenario == 'non-collocated'