forked from stove/dataset
35 lines
667 B
YAML
35 lines
667 B
YAML
|
---
|
||
|
version: 1.1
|
||
|
|
||
|
"nsd_zone_{{ suffix }}":
|
||
|
hidden: true
|
||
|
redefine: true
|
||
|
|
||
|
hosts:
|
||
|
|
||
|
hostname:
|
||
|
redefine: true
|
||
|
default:
|
||
|
jinja: |-
|
||
|
{%- for zone in zones | get_internal_info_in_zone(suffix, "host") %}
|
||
|
{{ zone }}
|
||
|
{%- endfor %}
|
||
|
params:
|
||
|
zones:
|
||
|
information: zones
|
||
|
suffix:
|
||
|
type: suffix
|
||
|
|
||
|
ip:
|
||
|
redefine: true
|
||
|
default:
|
||
|
jinja: >-
|
||
|
{{ zones | get_internal_info_in_zone(suffix, "ip", index) }}
|
||
|
params:
|
||
|
zones:
|
||
|
information: zones
|
||
|
suffix:
|
||
|
type: suffix
|
||
|
index:
|
||
|
type: index
|