]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
start_osds: Use list instead of keys
authorBoris Ranto <branto@redhat.com>
Mon, 19 Nov 2018 23:45:40 +0000 (00:45 +0100)
committerSébastien Han <seb@redhat.com>
Tue, 20 Nov 2018 17:48:22 +0000 (18:48 +0100)
commitc2b0cbd6996a666061a99af1d7cda7d4038b9e9f
treee257092fa65bf9358e85553538b6166bc40d0f1a
parent30ce7e84f4d14657d9447081f7f4c05471f8737c
start_osds: Use list instead of keys

If you use python3 based ansible then keys() returns a dict_keys object,
not a list of keys. This breaks the installation on such a system. Using
the list filter provides a more robust solution that should work on both
python2 and python3 based ansible. You can find some more information
about the issue, here:

https://github.com/ansible/ansible/issues/19514

Signed-off-by: Boris Ranto <branto@redhat.com>
roles/ceph-osd/tasks/start_osds.yml