style: remove empty whitespace lines from jinja2 templates
All checks were successful
ci/woodpecker/push/linting Pipeline was successful
All checks were successful
ci/woodpecker/push/linting Pipeline was successful
This commit is contained in:
parent
82cb21bb75
commit
b7d0ec8dca
1 changed files with 0 additions and 4 deletions
|
|
@ -2,7 +2,6 @@
|
|||
# zone: {{ zone.zone }}
|
||||
server:
|
||||
local-zone: "{{ zone.zone }}." {{ zone.type | default('static') }}
|
||||
|
||||
{% for record in zone.records %}
|
||||
{% if record.get('type', 'A') == 'MX' %}
|
||||
local-data: "{{ record.name }}. IN MX {{ record.priority }} {{ record.value }}"
|
||||
|
|
@ -18,7 +17,6 @@ server:
|
|||
local-data: "{{ record.name }}. IN {{ record.get('type', 'A') }} {{ record.value }}"
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
{# generate reverse dns zones from a records (skip transparent zones) #}
|
||||
|
|
@ -59,9 +57,7 @@ server:
|
|||
# reverse dns zone: {{ reverse_zone }}
|
||||
server:
|
||||
local-zone: "{{ reverse_zone }}." static
|
||||
|
||||
{% for ptr_record in ptr_records %}
|
||||
local-data: "{{ ptr_record.ptr }}. IN PTR {{ ptr_record.hostname }}."
|
||||
{% endfor %}
|
||||
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue