[ {% for ip in minecraft_banned_ips | default([]) %} { "ip": "{{ ip.address }}", "created": "{{ ip.created | default(ansible_date_time.iso8601) }}", "source": "{{ ip.source | default('Server') }}", "expires": "{{ ip.expires | default('forever') }}", "reason": "{{ ip.reason | default('Banned by administrator') }}" }{% if not loop.last %},{% endif %} {% endfor %} ]