{"body":"Clearly in the jinja template though, it's looped to increment nodeid \nnodelist {\n{% set nodeid = 0 %}\n{% for host in groups['hacluster'] %}\n{% set nodeid = nodeid + 1 %}\n    node {\n        ring0_addr: {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}\n        name: {{ hostvars[host]['ansible_hostname'] }}\n        nodeid: {{ nodeid }}\n    }\n{% endfor %}\n","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/zvD5ZNcv","modified":1581536283,"id":"zvD5ZNcv","size":391,"lines":11,"own_paste":false,"theme":"","date":1581536283}