65 Commits
Author SHA1 Message Date
volker.raschekandCopilot 3557776f17 fix(templates): render allow-notify and correct allow-query-on statement
Lint Markdown files / markdown-lint (push) Successful in 10s
Ansible Linter / ansible-lint (push) Successful in 52s
Release Ansible Role / Release Ansible Role (push) Successful in 1m19s
The zone option allow_notify was documented in defaults/main.yaml but never rendered by
named.conf.views.j2. Any allow_notify list configured for a zone was silently dropped, so
secondaries kept accepting NOTIFY messages only from the hosts listed in the masters statement.

In addition, the allow_query_on block emitted the statement name allow-query instead of
allow-query-on. This produced a second allow-query clause in the same zone and thereby
overrode the interface restriction that was actually intended.

Co-authored-by: Copilot <copilot@github.com>
2026-09-02 10:46:46 +02:00
CSRBot efdd0d8493 Merge pull request 'chore(deps): update ansible/ansible-lint action to v26.8.0' (#53) from renovate/ansible-ansible-lint-26.x into master
Lint Markdown files / markdown-lint (push) Successful in 6s
Ansible Linter / ansible-lint (push) Successful in 1m28s
2026-08-12 09:05:37 +00:00
CSRBot a295216cd6 chore(deps): update ansible/ansible-lint action to v26.8.0
Lint Markdown files / markdown-lint (pull_request) Successful in 9s
Ansible Linter / ansible-lint (push) Successful in 46s
Lint Markdown files / markdown-lint (push) Successful in 6s
Ansible Linter / ansible-lint (pull_request) Successful in 4m25s
2026-08-12 09:00:54 +00:00
CSRBot f82c9d1e1e Merge pull request 'chore(deps): update actions/checkout action to v6.1.0' (#52) from renovate/actions-checkout-6.x into master
Ansible Linter / ansible-lint (push) Successful in 47s
Lint Markdown files / markdown-lint (push) Successful in 9s
2026-07-20 18:03:56 +00:00
CSRBot 7108f660d4 chore(deps): update actions/checkout action to v6.1.0
Lint Markdown files / markdown-lint (push) Successful in 6s
Ansible Linter / ansible-lint (push) Successful in 1m35s
Ansible Linter / ansible-lint (pull_request) Successful in 47s
Lint Markdown files / markdown-lint (pull_request) Successful in 6s
2026-07-20 18:00:56 +00:00
CSRBot 1e72df951f Merge pull request 'chore(deps): update ansible/ansible-lint action to v26.6.0' (#51) from renovate/ansible-ansible-lint-26.x into master
Lint Markdown files / markdown-lint (push) Successful in 5s
Ansible Linter / ansible-lint (push) Successful in 48s
2026-07-02 18:06:32 +00:00
CSRBot 080e370205 chore(deps): update ansible/ansible-lint action to v26.6.0
Ansible Linter / ansible-lint (pull_request) Successful in 5m16s
Lint Markdown files / markdown-lint (pull_request) Successful in 10s
Lint Markdown files / markdown-lint (push) Successful in 16s
Ansible Linter / ansible-lint (push) Successful in 7m21s
2026-07-02 18:00:41 +00:00
CSRBot 0dcdda55fb chore(deps): pin dependencies
Ansible Linter / ansible-lint (pull_request) Successful in 2m3s
Lint Markdown files / markdown-lint (pull_request) Successful in 10s
Lint Markdown files / markdown-lint (push) Successful in 10s
Ansible Linter / ansible-lint (push) Successful in 28s
2026-06-05 12:00:55 +00:00
CSRBot 4cc68dfd13 Merge pull request 'chore(deps): update davidanson/markdownlint-cli2-action action to v23' (#48) from renovate/davidanson-markdownlint-cli2-action-23.x into master
Ansible Linter / ansible-lint (push) Successful in 30s
Lint Markdown files / markdown-lint (push) Successful in 5s
2026-06-04 15:01:53 +00:00
CSRBot 7707c24ae9 chore(deps): update davidanson/markdownlint-cli2-action action to v23
Ansible Linter / ansible-lint (pull_request) Successful in 42s
Lint Markdown files / markdown-lint (push) Successful in 5s
Lint Markdown files / markdown-lint (pull_request) Successful in 5s
Ansible Linter / ansible-lint (push) Successful in 1m18s
2026-06-04 15:00:48 +00:00
CSRBot 747125ea54 Merge pull request 'chore(deps): update actions/checkout action to v6.0.3' (#47) from renovate/actions into master
Ansible Linter / ansible-lint (push) Successful in 37s
Lint Markdown files / markdown-lint (push) Successful in 5s
2026-06-02 15:01:55 +00:00
CSRBot 1bc633f31d chore(deps): update actions/checkout action to v6.0.3
Lint Markdown files / markdown-lint (push) Successful in 15s
Ansible Linter / ansible-lint (pull_request) Successful in 45s
Lint Markdown files / markdown-lint (pull_request) Successful in 6s
Ansible Linter / ansible-lint (push) Successful in 2m2s
2026-06-02 15:00:42 +00:00
CSRBot 0978bf3574 Merge pull request 'chore(deps): update ansible/ansible-lint action to v26.4.0' (#46) from renovate/actions into master
Ansible Linter / ansible-lint (push) Successful in 25s
Lint Markdown files / markdown-lint (push) Successful in 4s
2026-04-14 11:00:05 +00:00
CSRBot 08ef16d144 chore(deps): update ansible/ansible-lint action to v26.4.0
Ansible Linter / ansible-lint (push) Successful in 3m11s
Lint Markdown files / markdown-lint (push) Successful in 17s
Ansible Linter / ansible-lint (pull_request) Successful in 52s
Lint Markdown files / markdown-lint (pull_request) Successful in 15s
2026-04-14 10:46:19 +00:00
CSRBot 7b506e95db Merge pull request 'chore(deps): update ansible/ansible-lint action to v26.3.0' (#45) from renovate/actions into master
Lint Markdown files / markdown-lint (push) Successful in 11s
Ansible Linter / ansible-lint (push) Successful in 20s
2026-03-05 14:02:31 +00:00
CSRBot 5ad3caa461 chore(deps): update ansible/ansible-lint action to v26.3.0
Lint Markdown files / markdown-lint (push) Successful in 9s
Ansible Linter / ansible-lint (push) Successful in 33s
Lint Markdown files / markdown-lint (pull_request) Successful in 5s
Ansible Linter / ansible-lint (pull_request) Successful in 1m35s
2026-03-05 14:00:25 +00:00
CSRBot 79a1536f91 Merge pull request 'chore(deps): update ansible/ansible-lint action to v26.2.0' (#44) from renovate/actions into master
Lint Markdown files / markdown-lint (push) Successful in 10s
Ansible Linter / ansible-lint (push) Successful in 20s
2026-02-25 17:18:34 +00:00
CSRBot 32f438abd1 chore(deps): update ansible/ansible-lint action to v26.2.0
Ansible Linter / ansible-lint (pull_request) Successful in 1m5s
Lint Markdown files / markdown-lint (push) Successful in 6s
Lint Markdown files / markdown-lint (pull_request) Successful in 5s
Ansible Linter / ansible-lint (push) Successful in 3m17s
2026-02-25 17:17:06 +00:00
CSRBot f99dfbaa63 Merge pull request 'chore(deps): update actions/checkout action to v6.0.2' (#43) from renovate/actions into master
Ansible Linter / ansible-lint (push) Successful in 20s
Lint Markdown files / markdown-lint (push) Successful in 4s
2026-01-22 17:03:11 +00:00
CSRBot cae6c83eda chore(deps): update actions/checkout action to v6.0.2
Ansible Linter / ansible-lint (pull_request) Successful in 59s
Ansible Linter / ansible-lint (push) Successful in 55s
Lint Markdown files / markdown-lint (pull_request) Successful in 10s
Lint Markdown files / markdown-lint (push) Successful in 9s
2026-01-22 17:00:36 +00:00
CSRBot 1e0d5e529d Merge pull request 'chore(deps): update ansible/ansible-lint action to v26.1.1' (#42) from renovate/actions into master
Ansible Linter / ansible-lint (push) Successful in 17s
Lint Markdown files / markdown-lint (push) Successful in 12s
2026-01-16 05:01:04 +00:00
CSRBot 9ca47da9c1 chore(deps): update ansible/ansible-lint action to v26.1.1
Ansible Linter / ansible-lint (pull_request) Successful in 27s
Lint Markdown files / markdown-lint (pull_request) Successful in 6s
Lint Markdown files / markdown-lint (push) Successful in 5s
Ansible Linter / ansible-lint (push) Successful in 1m20s
2026-01-16 05:00:22 +00:00
CSRBot 9450dfe0aa chore(deps): update ansible/ansible-lint action to v26
Ansible Linter / ansible-lint (pull_request) Successful in 25s
Lint Markdown files / markdown-lint (pull_request) Successful in 5s
Ansible Linter / ansible-lint (push) Successful in 17s
Lint Markdown files / markdown-lint (push) Successful in 4s
2026-01-11 23:00:21 +00:00
volker.raschek 92a3f387f8 fix(ci): add workflow dispatch for releases
Ansible Linter / ansible-lint (push) Successful in 26s
Lint Markdown files / markdown-lint (push) Successful in 4s
2026-01-11 21:15:27 +01:00
volker.raschek 38e077086c fix(ci): use dynamic github repository name
Ansible Linter / ansible-lint (push) Successful in 19s
Lint Markdown files / markdown-lint (push) Successful in 4s
2026-01-07 16:11:04 +01:00
volker.raschek c4d66b7409 fix(ci): add release workflow
Ansible Linter / ansible-lint (push) Successful in 18s
Lint Markdown files / markdown-lint (push) Successful in 4s
2026-01-07 16:05:27 +01:00
volker.raschek b68c8cf92a fix: replace deprecated INJECT_FACTS_AS_VARS
Ansible Linter / ansible-lint (push) Successful in 20s
Lint Markdown files / markdown-lint (push) Successful in 4s
2026-01-05 10:23:54 +01:00
volker.raschek 3045d8fabe fix(vscode): add file associations 2026-01-05 10:23:54 +01:00
CSRBot 2a17b15818 Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.12.2' (#40) from renovate/actions into master
Ansible Linter / ansible-lint (push) Successful in 16s
Lint Markdown files / markdown-lint (push) Successful in 4s
2025-12-22 20:01:55 +00:00
CSRBot 3e8b5317a1 chore(deps): update ansible/ansible-lint action to v25.12.2
Lint Markdown files / markdown-lint (push) Successful in 9s
Ansible Linter / ansible-lint (push) Successful in 27s
Lint Markdown files / markdown-lint (pull_request) Successful in 5s
Ansible Linter / ansible-lint (pull_request) Successful in 1m17s
2025-12-22 20:00:20 +00:00
CSRBot c4da1a0292 Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.12.1' (#39) from renovate/actions into master
Lint Markdown files / markdown-lint (push) Successful in 5s
Ansible Linter / ansible-lint (push) Successful in 55s
2025-12-10 14:01:38 +00:00
CSRBot 26ed89502d chore(deps): update ansible/ansible-lint action to v25.12.1
Ansible Linter / ansible-lint (pull_request) Successful in 56s
Lint Markdown files / markdown-lint (push) Successful in 5s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Ansible Linter / ansible-lint (push) Successful in 2m56s
2025-12-10 14:00:20 +00:00
CSRBot 9681a1d134 Merge pull request 'chore(deps): update actions/checkout action to v6' (#38) from renovate/actions-checkout-6.x into master
Ansible Linter / ansible-lint (push) Successful in 55s
Lint Markdown files / markdown-lint (push) Successful in 12s
2025-12-02 21:02:42 +00:00
CSRBot 9406232039 chore(deps): update actions/checkout action to v6
Ansible Linter / ansible-lint (pull_request) Successful in 57s
Ansible Linter / ansible-lint (push) Successful in 55s
Lint Markdown files / markdown-lint (pull_request) Successful in 10s
Lint Markdown files / markdown-lint (push) Successful in 10s
2025-12-02 21:00:32 +00:00
CSRBot 7aed0bc16f Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.12.0' (#37) from renovate/actions into master
Ansible Linter / ansible-lint (push) Successful in 17s
Lint Markdown files / markdown-lint (push) Successful in 4s
2025-12-02 17:01:58 +00:00
CSRBot 95c940f755 chore(deps): update ansible/ansible-lint action to v25.12.0
Lint Markdown files / markdown-lint (push) Successful in 10s
Ansible Linter / ansible-lint (push) Successful in 26s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Ansible Linter / ansible-lint (pull_request) Successful in 1m20s
2025-12-02 17:00:19 +00:00
CSRBot 646b89d0ce Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.11.1' (#36) from renovate/actions into master
Lint Markdown files / markdown-lint (push) Successful in 4s
Ansible Linter / ansible-lint (push) Successful in 56s
2025-11-24 23:02:00 +00:00
CSRBot ac849a4fbc chore(deps): update ansible/ansible-lint action to v25.11.1
Lint Markdown files / markdown-lint (push) Successful in 10s
Ansible Linter / ansible-lint (push) Successful in 26s
Lint Markdown files / markdown-lint (pull_request) Successful in 6s
Ansible Linter / ansible-lint (pull_request) Successful in 1m18s
2025-11-24 23:00:24 +00:00
volker.raschek 17ba8c87b2 fix: rename files to .yaml
Ansible Linter / ansible-lint (push) Successful in 57s
Lint Markdown files / markdown-lint (push) Successful in 10s
2025-11-23 22:00:15 +01:00
volker.raschek 1ad689e41d fix: rename files to .yaml
Lint Markdown files / markdown-lint (push) Successful in 4s
Ansible Linter / ansible-lint (push) Successful in 58s
2025-11-22 23:59:01 +01:00
volker.raschek 73fc7feedb fix: prepare for INJECT_FACTS_AS_VARS 2025-11-22 23:59:01 +01:00
CSRBot 5ca6f22180 Merge pull request 'chore(deps): update davidanson/markdownlint-cli2-action action to v21' (#34) from renovate/davidanson-markdownlint-cli2-action-21.x into master
Ansible Linter / ansible-lint (push) Successful in 1m0s
Lint Markdown files / markdown-lint (push) Successful in 9s
2025-11-18 17:00:31 +00:00
CSRBot b483664c5f chore(deps): update davidanson/markdownlint-cli2-action action to v21
Ansible Linter / ansible-lint (push) Successful in 56s
Lint Markdown files / markdown-lint (push) Successful in 11s
Ansible Linter / ansible-lint (pull_request) Successful in 56s
Lint Markdown files / markdown-lint (pull_request) Successful in 9s
2025-11-17 20:00:29 +00:00
CSRBot 56e8079ce6 Merge pull request 'chore(deps): update actions/checkout action to v5.0.1' (#35) from renovate/actions into master
Lint Markdown files / markdown-lint (push) Successful in 9s
Ansible Linter / ansible-lint (push) Successful in 18s
2025-11-17 17:02:07 +00:00
CSRBot 8e3ad790f4 chore(deps): update actions/checkout action to v5.0.1
Ansible Linter / ansible-lint (pull_request) Successful in 1m0s
Lint Markdown files / markdown-lint (pull_request) Successful in 10s
Ansible Linter / ansible-lint (push) Successful in 55s
Lint Markdown files / markdown-lint (push) Successful in 10s
2025-11-17 17:00:29 +00:00
CSRBot 234d1a95f1 Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.11.0' (#33) from renovate/actions into master
Ansible Linter / ansible-lint (push) Successful in 16s
Lint Markdown files / markdown-lint (push) Successful in 3s
2025-11-10 14:03:19 +00:00
CSRBot a9e8dd2dd1 chore(deps): update ansible/ansible-lint action to v25.11.0
Lint Markdown files / markdown-lint (push) Successful in 11s
Ansible Linter / ansible-lint (push) Successful in 44s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Ansible Linter / ansible-lint (pull_request) Successful in 2m27s
2025-11-10 14:00:31 +00:00
CSRBot 0c9e81f06d Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.9.2' (#32) from renovate/actions into master
Lint Markdown files / markdown-lint (push) Successful in 4s
Ansible Linter / ansible-lint (push) Successful in 17s
2025-10-08 13:02:09 +00:00
CSRBot d6db96cf7d chore(deps): update ansible/ansible-lint action to v25.9.2
Lint Markdown files / markdown-lint (push) Successful in 8s
Ansible Linter / ansible-lint (push) Successful in 25s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Ansible Linter / ansible-lint (pull_request) Successful in 1m21s
2025-10-08 13:00:28 +00:00
CSRBot 236421efb2 Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.9.1' (#31) from renovate/actions into master
Lint Markdown files / markdown-lint (push) Successful in 8s
Ansible Linter / ansible-lint (push) Successful in 16s
2025-10-01 13:01:15 +00:00
CSRBot 3232f5d400 chore(deps): update ansible/ansible-lint action to v25.9.1
Lint Markdown files / markdown-lint (push) Successful in 4s
Ansible Linter / ansible-lint (pull_request) Successful in 25s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Ansible Linter / ansible-lint (push) Successful in 1m22s
2025-10-01 13:00:28 +00:00
CSRBot 666146b6b3 Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.9.0' (#29) from renovate/actions into master
Ansible Linter / ansible-lint (push) Successful in 17s
Lint Markdown files / markdown-lint (push) Successful in 5s
2025-09-19 20:02:52 +00:00
CSRBot 4ed30e396f chore(deps): update ansible/ansible-lint action to v25.9.0
Ansible Linter / ansible-lint (push) Successful in 16s
Lint Markdown files / markdown-lint (push) Successful in 4s
Ansible Linter / ansible-lint (pull_request) Successful in 18s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
2025-09-18 22:00:30 +00:00
volker.raschek 8cd8caece1 chore(deps): update actions/checkout to v5.0.0
Ansible Linter / ansible-lint (push) Successful in 22s
Lint Markdown files / markdown-lint (push) Successful in 6s
2025-09-18 22:30:17 +02:00
volker.raschek 6ee7e2a0ae fix: avoid interpolation of variable
Ansible Linter / ansible-lint (push) Successful in 1m7s
Lint Markdown files / markdown-lint (push) Successful in 10s
2025-09-18 18:54:38 +02:00
volker.raschek 49623f7f52 fix(tasks): conditional result was 'None' of type 'NoneType'
Ansible Linter / ansible-lint (push) Successful in 15s
Lint Markdown files / markdown-lint (push) Successful in 3s
2025-09-18 18:32:37 +02:00
volker.raschek 20b27e1e6b fix(tasks): conditional result was 'None' of type 'NoneType'
Ansible Linter / ansible-lint (push) Successful in 19s
Lint Markdown files / markdown-lint (push) Successful in 6s
2025-09-18 18:25:14 +02:00
CSRBot d8a04d3f1b Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.8.2' (#28) from renovate/actions into master
Ansible Linter / ansible-lint (push) Successful in 15s
Lint Markdown files / markdown-lint (push) Successful in 15s
2025-08-21 16:01:47 +00:00
CSRBot b6a5d1c924 chore(deps): update ansible/ansible-lint action to v25.8.2
Lint Markdown files / markdown-lint (push) Successful in 9s
Lint Markdown files / markdown-lint (pull_request) Successful in 9s
Ansible Linter / ansible-lint (push) Successful in 26s
Ansible Linter / ansible-lint (pull_request) Successful in 1m3s
2025-08-21 16:00:29 +00:00
CSRBot d0ed854384 Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.8.1' (#27) from renovate/actions into master
Ansible Linter / ansible-lint (push) Successful in 14s
Lint Markdown files / markdown-lint (push) Successful in 9s
2025-08-14 01:01:58 +00:00
CSRBot 7e139fc571 chore(deps): update ansible/ansible-lint action to v25.8.1
Lint Markdown files / markdown-lint (push) Successful in 4s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Ansible Linter / ansible-lint (pull_request) Successful in 1m20s
Ansible Linter / ansible-lint (push) Successful in 1m26s
2025-08-14 01:00:25 +00:00
CSRBot c0e254bd94 Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.8.0' (#26) from renovate/actions into master
Lint Markdown files / markdown-lint (push) Successful in 4s
Ansible Linter / ansible-lint (push) Successful in 56s
2025-08-13 16:01:52 +00:00
CSRBot 2cbd5d82a1 chore(deps): update ansible/ansible-lint action to v25.8.0
Lint Markdown files / markdown-lint (push) Successful in 13s
Ansible Linter / ansible-lint (push) Successful in 21s
Lint Markdown files / markdown-lint (pull_request) Successful in 19s
Ansible Linter / ansible-lint (pull_request) Successful in 1m15s
2025-08-13 16:00:24 +00:00
CSRBot 4f727a2bc9 Merge pull request 'chore(deps): update actions/checkout action to v4.3.0' (#24) from renovate/actions into master
Ansible Linter / ansible-lint (push) Successful in 54s
Lint Markdown files / markdown-lint (push) Successful in 9s
2025-08-11 13:04:00 +00:00
CSRBot ce76a15b09 chore(deps): update actions/checkout action to v4.3.0
Ansible Linter / ansible-lint (push) Successful in 57s
Lint Markdown files / markdown-lint (push) Successful in 9s
Ansible Linter / ansible-lint (pull_request) Successful in 54s
Lint Markdown files / markdown-lint (pull_request) Successful in 9s
2025-08-11 13:00:51 +00:00
16 changed files with 77 additions and 12 deletions
+2 -2
View File
@@ -12,9 +12,9 @@ jobs:
runs-on: runs-on:
- ubuntu-latest - ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- name: Run ansible-lint - name: Run ansible-lint
uses: ansible/ansible-lint@v25.7.0 uses: ansible/ansible-lint@665d9e07a1943254d2910faffc106adaf7ea7294 # v26.8.0
with: with:
args: "--config-file .ansible-lint" args: "--config-file .ansible-lint"
setup_python: "true" setup_python: "true"
+2 -2
View File
@@ -12,7 +12,7 @@ jobs:
runs-on: runs-on:
- ubuntu-latest - ubuntu-latest
steps: steps:
- uses: actions/checkout@v4.2.2 - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: DavidAnson/markdownlint-cli2-action@v20.0.0 - uses: DavidAnson/markdownlint-cli2-action@ded1f9488f68a970bc66ea5619e13e9b52e601cd # v23.2.0
with: with:
globs: '**/*.md' globs: '**/*.md'
+22
View File
@@ -0,0 +1,22 @@
name: Release Ansible Role
on:
push:
tags:
- '**'
workflow_dispatch: {}
jobs:
release:
name: Release Ansible Role
runs-on: ubuntu-latest
steps:
- name: Install Ansible Galaxy
run: |
apt update --yes
apt install --yes ansible
- env:
ANSIBLE_GALAXY_TOKEN: ${{ secrets.ANSIBLE_GALAXY_TOKEN }}
name: Update Ansible Role in Ansible Galaxy
run: |
ansible-galaxy role import --token=${ANSIBLE_GALAXY_TOKEN} volker-raschek ${GITHUB_REPOSITORY#*/}
+14
View File
@@ -0,0 +1,14 @@
{
"ansible.python.interpreterPath": "/bin/python",
"files.associations": {
"**/.gitea/**/*.yml": "yaml",
"**/.gitea/**/*.yaml": "yaml",
"docker-compose*.yml": "dockercompose",
"*.yml": "ansible",
"*.yaml": "ansible",
".yamllint": "yaml",
".yamllint.yml": "yaml",
".yamllint.yaml": "yaml"
},
"rewrap.wrappingColumn": 120
}
View File
+13 -3
View File
@@ -1,7 +1,17 @@
--- ---
- name: Include OS-specific variables - name: Include OS-specific variables
ansible.builtin.include_vars: "{{ ansible_os_family }}.yml" ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
vars:
params:
files:
- "{{ ansible_facts['distribution'] }}_{{ ansible_facts['architecture'] }}.yaml"
- "{{ ansible_facts['distribution'] }}.yaml"
- "{{ ansible_facts['os_family'] }}_{{ ansible_facts['architecture'] }}.yaml"
- "{{ ansible_facts['os_family'] }}.yaml"
- main.yaml
paths:
- vars
- name: Install bind and dependencies - name: Install bind and dependencies
ansible.builtin.package: ansible.builtin.package:
@@ -76,14 +86,14 @@
state: directory state: directory
- name: Create DNSSEC files - name: Create DNSSEC files
ansible.builtin.include_tasks: create_dnssec_files.yml ansible.builtin.include_tasks: create_dnssec_files.yaml
with_items: "{{ bind9_dnssec_keys }}" with_items: "{{ bind9_dnssec_keys }}"
no_log: true no_log: true
loop_control: loop_control:
loop_var: bind9_dnssec_key loop_var: bind9_dnssec_key
- name: Create DNS-Zone files - name: Create DNS-Zone files
ansible.builtin.include_tasks: template_zone_files.yml ansible.builtin.include_tasks: template_zone_files.yaml
with_items: with_items:
- "{{ bind9_views }}" - "{{ bind9_views }}"
loop_control: loop_control:
@@ -1,6 +1,6 @@
--- ---
- name: "Create config directory of DNS zone {{ zone.config.origin }}" - name: "Create config directory of DNS zones"
ansible.builtin.file: ansible.builtin.file:
path: "{{ bind_config_directory }}/{{ zone.file | dirname }}" path: "{{ bind_config_directory }}/{{ zone.file | dirname }}"
owner: "{{ bind_unix_user }}" owner: "{{ bind_unix_user }}"
@@ -29,7 +29,7 @@
notify: Restart named notify: Restart named
- name: Check if last character in zone files is a newline - name: Check if last character in zone files is a newline
ansible.builtin.include_tasks: verify_zone_file.yml ansible.builtin.include_tasks: verify_zone_file.yaml
with_items: with_items:
- "{{ view.zones }}" - "{{ view.zones }}"
loop_control: loop_control:
@@ -37,7 +37,7 @@
when: zone.config.type == 'master' when: zone.config.type == 'master'
- name: Sign Zones - name: Sign Zones
ansible.builtin.include_tasks: sign_zone_file.yml ansible.builtin.include_tasks: sign_zone_file.yaml
with_items: with_items:
- "{{ view.zones }}" - "{{ view.zones }}"
loop_control: loop_control:
@@ -10,4 +10,4 @@
- name: "Fail when the last character of DNS zone file is not a newline: {{ bind_config_directory + '/' + zone.file }}" - name: "Fail when the last character of DNS zone file is not a newline: {{ bind_config_directory + '/' + zone.file }}"
ansible.builtin.fail: ansible.builtin.fail:
msg: "Last character of DNS zone file is not a newline: {{ bind_config_directory + '/' + zone.file }}" msg: "Last character of DNS zone file is not a newline: {{ bind_config_directory + '/' + zone.file }}"
failed_when: _bind9_zone_last_character.stdout | regex_search('.+') | default(false) when: _bind9_zone_last_character.stdout != ''
+20 -1
View File
@@ -15,6 +15,25 @@ view "{{ view.name }}" {
{% for zone in view.zones %} {% for zone in view.zones %}
zone "{{ zone.config.origin }}" { zone "{{ zone.config.origin }}" {
# allow-notify applies to slave zones only and defines a match list,
# e.g. IP address(es), that are allowed to NOTIFY the slave in
# addition to those hosts defined in the masters statement. By
# default only the hosts of the masters statement may send NOTIFY
# messages.
#
# NOTE:
# - This statement may be used in a zone, view or a global options
# clause.
{% if zone.config.allow_notify is defined and zone.config.allow_notify | length > 0 %}
allow-notify {
{% for entry in zone.config.allow_notify %}
{{ entry }};
{% endfor %}
};
{% else %}
# allow-notify {};
{% endif %}
# Hosts which are allowed to issue queries to the server. If not specified all # Hosts which are allowed to issue queries to the server. If not specified all
# hosts are allowed to make queries (defaults to allow-query {any;}; # hosts are allowed to make queries (defaults to allow-query {any;};
# #
@@ -41,7 +60,7 @@ view "{{ view.name }}" {
# - The statements may be used in a zone, view or a global options # - The statements may be used in a zone, view or a global options
# clause. # clause.
{% if zone.config.allow_query_on is defined and zone.config.allow_query_on | length > 0 %} {% if zone.config.allow_query_on is defined and zone.config.allow_query_on | length > 0 %}
allow-query { allow-query-on {
{% for entry in zone.config.allow_query_on %} {% for entry in zone.config.allow_query_on %}
{{ entry }}; {{ entry }};
{% endfor %} {% endfor %}