
{
    "clusters": [
        {
            "nodes": [
{% set comma = joiner(",") %}
{% for node in openshift_storage_nodes %}
                {{ comma() }} {
                    "node": {
                        "hostnames": {
                            "manage": [
                                "{{ node }}"
                            ],
                            "storage": [
                                "{{ node }}"
                            ]
                        },
                        "zone": 1
                    },
                    "devices": [
                        "/dev/{{ansible_lvm.lvs[ands_heketi_lv].vg}}/{{ ands_heketi_lv }}"
                    ]
                }
{% endfor %}
            ]
        }
    ]
}
