start_osds: use list instead of keys (re-introduce)

the python3 fix merged by:

  https://github.com/ceph/ceph-ansible/pull/3346

was reintroduced a few days later by:

  82a6b5adec

and this patch fixes it again :)

Signed-off-by: Noah Watkins <nwatkins@redhat.com>
pull/3422/head
Noah Watkins 2018-12-05 14:04:48 -08:00 committed by mergify[bot]
parent 2fb12ae554
commit 3cf5fd2c3e
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@
state: started state: started
enabled: yes enabled: yes
daemon_reload: yes daemon_reload: yes
with_items: "{{ devices if osd_scenario != 'lvm' and containerized_deployment else (ceph_osd_ids.stdout | from_json).keys() if osd_scenario == 'lvm' and not containerized_deployment else osd_ids_non_container.stdout_lines }}" with_items: "{{ devices if osd_scenario != 'lvm' and containerized_deployment else ((ceph_osd_ids.stdout | from_json).keys() | list) if osd_scenario == 'lvm' and not containerized_deployment else osd_ids_non_container.stdout_lines }}"
- name: ensure systemd service override directory exists - name: ensure systemd service override directory exists
file: file: