You've already forked ansible-role-bind9
Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
1ad689e41d
|
|||
|
73fc7feedb
|
|||
| 5ca6f22180 | |||
|
b483664c5f
|
|||
| 56e8079ce6 | |||
|
8e3ad790f4
|
|||
| 234d1a95f1 | |||
|
a9e8dd2dd1
|
|||
| 0c9e81f06d | |||
|
d6db96cf7d
|
|||
| 236421efb2 | |||
|
3232f5d400
|
|||
| 666146b6b3 | |||
|
4ed30e396f
|
|||
|
8cd8caece1
|
|||
|
6ee7e2a0ae
|
@@ -12,9 +12,9 @@ jobs:
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5.0.1
|
||||
- name: Run ansible-lint
|
||||
uses: ansible/ansible-lint@v25.8.2
|
||||
uses: ansible/ansible-lint@v25.11.0
|
||||
with:
|
||||
args: "--config-file .ansible-lint"
|
||||
setup_python: "true"
|
||||
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.3.0
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v20.0.0
|
||||
- uses: actions/checkout@v5.0.1
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v21.0.0
|
||||
with:
|
||||
globs: '**/*.md'
|
||||
|
||||
@@ -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:
|
||||
@@ -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:
|
||||
Reference in New Issue
Block a user