i have this list of ansible inventory
[clickhouse]
server01 ansible_host=10.1.1.1 name=server01
server02 ansible_host=10.1.1.2 name=server02
server03 ansible_host=10.1.1.3 name=server03
server04 ansible_host=10.1.1.4 name=server04
i have this config.xml.j2
<noc>
<shard>
<internal_replication>true</internal_replication>
<replica>
<host>server01 </host>
<port>9000</port>
</replica>
<replica>
<host>server02</host>
<port>9000</port>
</replica>
</shard>
</noc>
**can you support with looping to be like the below ** enter image description here