ceph_osds is list so we don't need to itemize it

Also we have just one value in colocated scenario.

Change-Id: I6dab80aa476140e821a65544c39182c12b20c0b6
This commit is contained in:
Lukas Bezdicka 2019-11-15 00:01:06 +01:00
parent 505fc0d21e
commit 416d06a545
1 changed files with 3 additions and 3 deletions

View File

@ -5,12 +5,12 @@ parameter_defaults:
{% endif %}
CephAnsibleDisksConfig:
devices:
{% for key, value in ceph_osds.iteritems()|sort %}
- '{{ key }}'
{% for osd in ceph_osds|sort %}
- '{{ osd }}'
{% endfor %}
{% if ceph_osds_non_collocated|default(false) %}
dedicated_devices:
{% for key, value in ceph_osds.iteritems()|sort %}
{% for key, value in ceph_osds|sort %}
- '{{ value.journal }}'
{% endfor %}
osd_scenario: non-collocated