52 Commits

Author SHA1 Message Date
17ba8c87b2 fix: rename files to .yaml
All checks were successful
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
1ad689e41d fix: rename files to .yaml
All checks were successful
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
73fc7feedb fix: prepare for INJECT_FACTS_AS_VARS 2025-11-22 23:59:01 +01:00
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
All checks were successful
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
b483664c5f chore(deps): update davidanson/markdownlint-cli2-action action to v21
All checks were successful
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
56e8079ce6 Merge pull request 'chore(deps): update actions/checkout action to v5.0.1' (#35) from renovate/actions into master
All checks were successful
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
8e3ad790f4 chore(deps): update actions/checkout action to v5.0.1
All checks were successful
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
234d1a95f1 Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.11.0' (#33) from renovate/actions into master
All checks were successful
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
a9e8dd2dd1 chore(deps): update ansible/ansible-lint action to v25.11.0
All checks were successful
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
0c9e81f06d Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.9.2' (#32) from renovate/actions into master
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 17s
Lint Markdown files / markdown-lint (push) Successful in 4s
2025-10-08 13:02:09 +00:00
d6db96cf7d chore(deps): update ansible/ansible-lint action to v25.9.2
All checks were successful
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
236421efb2 Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.9.1' (#31) from renovate/actions into master
All checks were successful
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
3232f5d400 chore(deps): update ansible/ansible-lint action to v25.9.1
All checks were successful
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
666146b6b3 Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.9.0' (#29) from renovate/actions into master
All checks were successful
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
4ed30e396f chore(deps): update ansible/ansible-lint action to v25.9.0
All checks were successful
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
8cd8caece1 chore(deps): update actions/checkout to v5.0.0
All checks were successful
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
6ee7e2a0ae fix: avoid interpolation of variable
All checks were successful
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
49623f7f52 fix(tasks): conditional result was 'None' of type 'NoneType'
All checks were successful
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
20b27e1e6b fix(tasks): conditional result was 'None' of type 'NoneType'
All checks were successful
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
d8a04d3f1b Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.8.2' (#28) from renovate/actions into master
All checks were successful
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
b6a5d1c924 chore(deps): update ansible/ansible-lint action to v25.8.2
All checks were successful
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
d0ed854384 Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.8.1' (#27) from renovate/actions into master
All checks were successful
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
7e139fc571 chore(deps): update ansible/ansible-lint action to v25.8.1
All checks were successful
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
c0e254bd94 Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.8.0' (#26) from renovate/actions into master
All checks were successful
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
2cbd5d82a1 chore(deps): update ansible/ansible-lint action to v25.8.0
All checks were successful
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
4f727a2bc9 Merge pull request 'chore(deps): update actions/checkout action to v4.3.0' (#24) from renovate/actions into master
All checks were successful
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
ce76a15b09 chore(deps): update actions/checkout action to v4.3.0
All checks were successful
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
827e96463f fix(templating): adapt lstrip_blocks
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 56s
Lint Markdown files / markdown-lint (push) Successful in 9s
2025-08-10 18:32:38 +02:00
f3cbc1d81b fix(ansible-galaxy): adapt indentation
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 11s
Ansible Linter / ansible-lint (push) Successful in 55s
2025-08-06 16:10:21 +02:00
b50fd28d22 fix(ansible-galaxy): add namespace
Some checks failed
Lint Markdown files / markdown-lint (push) Successful in 12s
Ansible Linter / ansible-lint (push) Failing after 55s
2025-08-06 15:22:23 +02:00
63ff0433ff fix(ansible-galaxy): adapt list of supported platforms
Some checks failed
Lint Markdown files / markdown-lint (push) Successful in 10s
Ansible Linter / ansible-lint (push) Failing after 48s
2025-08-06 11:44:48 +02:00
5939225733 fix(ansible-galaxy): remove namespace
Some checks failed
Lint Markdown files / markdown-lint (push) Successful in 10s
Ansible Linter / ansible-lint (push) Failing after 30s
2025-08-06 11:32:02 +02:00
974a128275 Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.7.0' (#23) from renovate/actions into master
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 16s
Ansible Linter / ansible-lint (push) Successful in 42s
2025-07-29 22:02:40 +00:00
35e10931a4 chore(deps): update ansible/ansible-lint action to v25.7.0
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 12s
Ansible Linter / ansible-lint (push) Successful in 1m31s
Ansible Linter / ansible-lint (pull_request) Successful in 1m14s
Lint Markdown files / markdown-lint (pull_request) Successful in 11s
2025-07-29 22:00:44 +00:00
670820009c chore(deps): update ansible/ansible-lint action to v25.6.1
All checks were successful
Lint Markdown files / markdown-lint (pull_request) Successful in 16s
Ansible Linter / ansible-lint (pull_request) Successful in 1m16s
Lint Markdown files / markdown-lint (push) Successful in 16s
Ansible Linter / ansible-lint (push) Successful in 15s
2025-06-19 10:00:23 +00:00
d38b75dae5 chore(deps): update ansible/ansible-lint action to v25.6.0
All checks were successful
Lint Markdown files / markdown-lint (pull_request) Successful in 12s
Ansible Linter / ansible-lint (pull_request) Successful in 1m22s
Lint Markdown files / markdown-lint (push) Successful in 13s
Ansible Linter / ansible-lint (push) Successful in 53s
2025-06-17 19:00:24 +00:00
73f0d2b6bf chore(deps): update ansible/ansible-lint action to v25.5.0
All checks were successful
Ansible Linter / ansible-lint (pull_request) Successful in 15s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Lint Markdown files / markdown-lint (push) Successful in 4s
Ansible Linter / ansible-lint (push) Successful in 45s
2025-05-31 12:04:40 +00:00
9321ee64a5 chore(ci): adapt workflow to lint markdown files
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 5s
Ansible Linter / ansible-lint (push) Successful in 1m3s
2025-05-31 13:35:27 +02:00
4117cbda9a chore(ci): use DavidAnson/markdownlint-cli2-action
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 14s
2025-05-13 21:20:02 +02:00
0e6ad65746 chore(deps): update ansible/ansible-lint action to v25.4.0
All checks were successful
Ansible Linter / ansible-lint (pull_request) Successful in 1m10s
Lint Markdown files / markdown-lint (pull_request) Successful in 10s
Lint Markdown files / markdown-lint (push) Successful in 7s
Ansible Linter / ansible-lint (push) Successful in 53s
2025-04-28 13:00:32 +00:00
36d8257cd2 style: use quotation marks for the name of an action
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 1m27s
Lint Markdown files / markdown-lint (push) Successful in 12s
2025-04-18 11:53:13 +02:00
220d23790a chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.44.0
All checks were successful
Ansible Linter / ansible-lint (pull_request) Successful in 57s
Lint Markdown files / markdown-lint (pull_request) Successful in 9s
Ansible Linter / ansible-lint (push) Successful in 56s
Lint Markdown files / markdown-lint (push) Successful in 11s
2025-04-14 23:03:26 +02:00
aa33cf1f5c fix(ci): remove requirements condition
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 1m0s
Lint Markdown files / markdown-lint (push) Successful in 11s
2025-04-14 22:50:04 +02:00
9b70a69a9a fix(ci): remove workflow_dispatch
Some checks failed
Ansible Linter / ansible-lint (push) Failing after 52s
Lint Markdown files / markdown-lint (push) Successful in 8s
2025-04-14 22:34:09 +02:00
5b9064cd65 fix(ci): rollback git.cryptic.systems/volker.raschek/markdownlint
Some checks failed
Ansible Linter / ansible-lint (push) Failing after 44s
Lint Markdown files / markdown-lint (push) Successful in 29s
2025-04-14 22:19:45 +02:00
8458f49975 fix(linter): ignore .gitea directory
Some checks failed
Ansible Linter / ansible-lint (push) Failing after 47s
Lint Markdown files / markdown-lint (push) Successful in 11s
2025-04-14 22:10:43 +02:00
ab0f34f217 fix(ci): rename workflows
Some checks failed
Ansible Linter / ansible-lint (push) Failing after 45s
Lint Markdown files / markdown-lint (push) Successful in 8s
2025-04-14 22:06:48 +02:00
85ee72fe17 fix(galaxy): set namespace
Some checks failed
Ansible Lint / ansible-lint (push) Failing after 44s
Markdown linter / markdown-lint (push) Successful in 11s
2025-04-14 22:01:54 +02:00
261cd45400 feat(act-runner): replace drone
Some checks failed
Ansible Lint / ansible-lint (push) Failing after 46s
Markdown linter / markdown-lint (push) Successful in 11s
2025-04-14 21:53:40 +02:00
3ed4cc4862 chore(renovate): use configuration preset
Some checks failed
continuous-integration/drone/push Build is failing
2025-04-01 22:22:33 +02:00
497d261e70 Merge pull request 'chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.43.0' (#13) from renovate/docker.io-volkerraschek-markdownlint-0.x into master
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #13
2025-02-16 14:06:15 +00:00
345a8d3075 chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.43.0
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2025-02-04 23:05:05 +00:00
20 changed files with 76 additions and 101 deletions

View File

@@ -1,3 +1,4 @@
---
skip_list: []
exclude_paths:
- .gitea/

View File

@@ -1,53 +0,0 @@
---
kind: pipeline
type: kubernetes
name: linter
node_selector:
kubernetes.io/arch: amd64
kubernetes.io/os: linux
steps:
- name: markdown lint
commands:
- markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.39.0
resources:
limits:
cpu: 50
memory: 50M
- name: ansible lint
commands:
- ansible-lint .
image: docker.io/volkerraschek/ansible-archlinux:latest
pull: always
resources:
limits:
cpu: 250
memory: 250M
- name: email-notification
environment:
PLUGIN_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 50
memory: 25M
when:
status:
- changed
- failure
trigger:
event:
exclude:
- tag

View File

@@ -0,0 +1,20 @@
name: Ansible Linter
on:
pull_request:
types: [ "opened", "reopened", "synchronize" ]
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
jobs:
ansible-lint:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v5.0.1
- name: Run ansible-lint
uses: ansible/ansible-lint@v25.11.0
with:
args: "--config-file .ansible-lint"
setup_python: "true"

View File

@@ -0,0 +1,18 @@
name: Lint Markdown files
on:
pull_request:
types: [ "opened", "reopened", "synchronize" ]
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
jobs:
markdown-lint:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v5.0.1
- uses: DavidAnson/markdownlint-cli2-action@v21.0.0
with:
globs: '**/*.md'

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.ansible

View File

@@ -45,19 +45,17 @@ MD012:
# MD013/line-length - Line length
MD013:
# Number of characters
line_length: 80
line_length: 120
# Number of characters for headings
heading_line_length: 80
heading_line_length: 120
# Number of characters for code blocks
code_block_line_length: 80
code_block_line_length: 120
# Include code blocks
code_blocks: false
# Include tables
tables: false
# Include headings
headings: true
# Include headings
headers: true
# Strict length checking
strict: false
# Stern length checking
@@ -70,11 +68,6 @@ MD022:
# Blank lines below heading
lines_below: 1
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
MD024:
# Only check sibling headings
allow_different_nesting: true
# MD025/single-title/single-h1 - Multiple top-level headings in the same document
MD025:
# Heading level

View File

@@ -1,6 +1,5 @@
# bind9-role
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/bind9-role/status.svg)](https://drone.cryptic.systems/volker.raschek/bind9-role)
[![Ansible Role](https://img.shields.io/ansible/role/d/58170)](https://galaxy.ansible.com/volker_raschek/bind9)
With following role can be bind installed and configured.

View File

@@ -1,7 +1,7 @@
---
bind9_acls:
- name: internalnets
- name: "internalnets"
permissions: []
# - "111.222.111.222"
@@ -117,7 +117,7 @@ bind9_tsigkeys: []
# secret: "secret"
bind9_views: []
# - name: external
# - name: "external"
# match_clients:
# - "!internalnets"
# - "any"
@@ -135,7 +135,7 @@ bind9_views: []
# type: master
# notify: true
# file: zones/external/db.local.example
# - name: internal
# - name: "internal"
# match_clients:
# - "!192.168.178.1"
# - "internalnets"

View File

@@ -1,24 +1,26 @@
dependencies: []
galaxy_info:
role_name: bind9
author: Markus Pesch
description: Role to install and configure bind9 on different distributions
company: Cryptic Systems
description: Role to install and configure bind9 on different distributions
galaxy_tags:
- named
- bind
- dyndns
license: MIT
min_ansible_version: "2.9"
namespace: volker-raschek
platforms:
- name: ArchLinux
versions:
- all
- name: Ubuntu
versions:
- all
- name: EL
versions:
- all
galaxy_tags:
- named
- bind
- dyndns
dependencies: []
- name: Fedora
versions:
- all
- name: Ubuntu
versions:
- all
role_name: bind9

View File

@@ -1,15 +1,9 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"assignees": [ "volker.raschek" ],
"labels": [ "renovate" ],
"packageRules": [
{
"addLabels": [ "renovate/droneci", "renovate/automerge" ],
"automerge": true,
"matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"]
}
],
"rebaseLabel": "renovate/rebase",
"rebaseWhen": "behind-base-branch"
}
"extends": [
"local>volker.raschek/renovate-config:default#master",
"local>volker.raschek/renovate-config:container#master",
"local>volker.raschek/renovate-config:actions#master",
"local>volker.raschek/renovate-config:regexp#master"
]
}

View File

@@ -1,7 +1,7 @@
---
- name: Include OS-specific variables
ansible.builtin.include_vars: "{{ ansible_os_family }}.yml"
ansible.builtin.include_vars: "{{ ansible_facts['os_family'] }}.yaml"
- name: Install bind and dependencies
ansible.builtin.package:
@@ -76,14 +76,14 @@
state: directory
- 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 }}"
no_log: true
loop_control:
loop_var: bind9_dnssec_key
- name: Create DNS-Zone files
ansible.builtin.include_tasks: template_zone_files.yml
ansible.builtin.include_tasks: template_zone_files.yaml
with_items:
- "{{ bind9_views }}"
loop_control:

View File

@@ -1,6 +1,6 @@
---
- name: "Create config directory of DNS zone {{ zone.config.origin }}"
- name: "Create config directory of DNS zones"
ansible.builtin.file:
path: "{{ bind_config_directory }}/{{ zone.file | dirname }}"
owner: "{{ bind_unix_user }}"
@@ -29,7 +29,7 @@
notify: Restart named
- 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:
- "{{ view.zones }}"
loop_control:
@@ -37,7 +37,7 @@
when: zone.config.type == 'master'
- name: Sign Zones
ansible.builtin.include_tasks: sign_zone_file.yml
ansible.builtin.include_tasks: sign_zone_file.yaml
with_items:
- "{{ view.zones }}"
loop_control:

View File

@@ -10,4 +10,4 @@
- name: "Fail when the last character of DNS zone file is not a newline: {{ bind_config_directory + '/' + zone.file }}"
ansible.builtin.fail:
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 != ''

View File

@@ -1,4 +1,4 @@
#jinja2: lstrip_blocks: "True (or False)", trim_blocks: "True (or False)"
#jinja2: lstrip_blocks: True
#
# {{ ansible_managed }}
#