]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
osd: fix `set_fact build dedicated_devices` 2006/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 6 Oct 2017 12:35:42 +0000 (14:35 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 6 Oct 2017 13:00:32 +0000 (15:00 +0200)
commit6b027557e6974bde86f05704c0ad12bfcf66fd3a
treea5ea36fb22a6b993a328a52ae3d2fe375d424188
parent680ec8758e414683ffe5836d94aaf78f3ba4c8a1
osd: fix `set_fact build dedicated_devices`

Use an intermediate variable to build the final `dedicated_devices` list
to avoid duplicate entry in that array. (We need a 1:1 relation between
`dedicated_devices` and `devices` since we are using a `with_together`
later.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-osd/tasks/check_devices.yml