You've already forked ansible-role-bind9
Compare commits
1 Commits
master
...
b8d9c6549a
Author | SHA1 | Date | |
---|---|---|---|
b8d9c6549a
|
@@ -12,9 +12,10 @@ jobs:
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5.0.0
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run ansible-lint
|
||||
uses: ansible/ansible-lint@v25.9.2
|
||||
uses: ansible/ansible-lint@v25.2.1
|
||||
with:
|
||||
args: "--config-file .ansible-lint"
|
||||
setup_python: "true"
|
||||
requirements_file: "requirements.yml"
|
@@ -9,10 +9,11 @@ on:
|
||||
|
||||
jobs:
|
||||
markdown-lint:
|
||||
container:
|
||||
image: git.cryptic.systems/volker.raschek/markdownlint:0.44.0
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5.0.0
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v20.0.0
|
||||
with:
|
||||
globs: '**/*.md'
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- name: Lint Markdown files
|
||||
run: markdownlint --config .markdownlint.yaml .
|
||||
|
@@ -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"
|
||||
|
@@ -1,26 +1,25 @@
|
||||
dependencies: []
|
||||
galaxy_info:
|
||||
namespace: volker_raschek
|
||||
role_name: bind9
|
||||
author: Markus Pesch
|
||||
company: Cryptic Systems
|
||||
description: Role to install and configure bind9 on different distributions
|
||||
galaxy_tags:
|
||||
- named
|
||||
- bind
|
||||
- dyndns
|
||||
company: Cryptic Systems
|
||||
license: MIT
|
||||
min_ansible_version: "2.9"
|
||||
namespace: volker-raschek
|
||||
platforms:
|
||||
- name: ArchLinux
|
||||
versions:
|
||||
- all
|
||||
- name: EL
|
||||
versions:
|
||||
- all
|
||||
- name: Fedora
|
||||
versions:
|
||||
- all
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- all
|
||||
role_name: bind9
|
||||
- name: EL
|
||||
versions:
|
||||
- all
|
||||
|
||||
galaxy_tags:
|
||||
- named
|
||||
- bind
|
||||
- dyndns
|
||||
|
||||
dependencies: []
|
||||
|
@@ -1,6 +1,6 @@
|
||||
---
|
||||
|
||||
- name: "Create config directory of DNS zones"
|
||||
- name: "Create config directory of DNS zone {{ zone.config.origin }}"
|
||||
ansible.builtin.file:
|
||||
path: "{{ bind_config_directory }}/{{ zone.file | dirname }}"
|
||||
owner: "{{ bind_unix_user }}"
|
||||
|
@@ -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 }}"
|
||||
when: _bind9_zone_last_character.stdout != ''
|
||||
failed_when: _bind9_zone_last_character.stdout | regex_search('.+') | default(false)
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#jinja2: lstrip_blocks: True
|
||||
#jinja2: lstrip_blocks: "True (or False)", trim_blocks: "True (or False)"
|
||||
#
|
||||
# {{ ansible_managed }}
|
||||
#
|
||||
|
Reference in New Issue
Block a user