You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
484 B
8 lines
484 B
2 years ago
|
{%- set mappings = blocky_default_mappings | items2dict(key_name='tld', value_name='resolver') -%}
|
||
|
{%- set conditional = { 'conditional': { 'mapping': mappings }} -%}
|
||
|
|
||
|
{%- set groups = blocky_default_groups | items2dict(key_name='selector', value_name='groups') -%}
|
||
|
{%- set clientGroupsBlock = { 'blocking': { 'clientGroupsBlock': groups }} -%}
|
||
|
|
||
|
{{- blocky_cfg | combine(clientGroupsBlock, recursive=true) | combine(conditional, recursive=true) | to_nice_yaml(indent=2, width=512) }}
|