Compare commits
29
Commits
0.1.3
..
b68c8cf92a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b68c8cf92a
|
||
|
|
3045d8fabe
|
||
|
|
2a17b15818 | ||
|
|
3e8b5317a1
|
||
|
|
c4da1a0292 | ||
|
|
26ed89502d
|
||
|
|
9681a1d134 | ||
|
|
9406232039
|
||
|
|
7aed0bc16f | ||
|
|
95c940f755
|
||
|
|
646b89d0ce | ||
|
|
ac849a4fbc
|
||
|
|
17ba8c87b2
|
||
|
|
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@v6.0.1
|
||||
- name: Run ansible-lint
|
||||
uses: ansible/ansible-lint@v25.8.2
|
||||
uses: ansible/ansible-lint@v25.12.2
|
||||
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@v6.0.1
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v21.0.0
|
||||
with:
|
||||
globs: '**/*.md'
|
||||
|
||||
Vendored
+14
@@ -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
|
||||
}
|
||||
@@ -1,7 +1,17 @@
|
||||
---
|
||||
|
||||
- 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
|
||||
ansible.builtin.package:
|
||||
@@ -76,14 +86,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