mirror of https://github.com/ceph/ceph-ansible.git
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
parent
2fb12ae554
commit
3cf5fd2c3e
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue