21 lines
439 B
Django/Jinja
21 lines
439 B
Django/Jinja
{{ ansible_managed | comment(decoration="-- ") }}
|
|
|
|
{% for listen in kresd__listen %}
|
|
net.listen(
|
|
{{ listen.address | enquote }},
|
|
{{ listen.port | int }},
|
|
{
|
|
kind = {{ listen.kind | enquote }},
|
|
freebind = {{ listen.freebind
|
|
| default(kresd__freebind) }},
|
|
}
|
|
)
|
|
{% endfor %}
|
|
|
|
modules = {
|
|
'hints > iterate',
|
|
'stats',
|
|
'predict',
|
|
}
|
|
|
|
cache.size = {{ kresd__cache_size | int }} * MB
|