12 lines
390 B
Django/Jinja
12 lines
390 B
Django/Jinja
[
|
|
{% 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 %}
|
|
] |