fix: security channel file
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4ef83cee22
commit
55c3ccae08
@ -12,7 +12,7 @@ bind9_logging:
|
|||||||
- "security_file"
|
- "security_file"
|
||||||
channels:
|
channels:
|
||||||
- name: "security_file"
|
- name: "security_file"
|
||||||
ansible.builtin.file:
|
file:
|
||||||
path: "/var/log/named/security.log"
|
path: "/var/log/named/security.log"
|
||||||
options: "versions 3 size 30m"
|
options: "versions 3 size 30m"
|
||||||
severity: "dynamic"
|
severity: "dynamic"
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
owner: "{{ bind_unix_user }}"
|
owner: "{{ bind_unix_user }}"
|
||||||
group: "{{ bind_unix_group }}"
|
group: "{{ bind_unix_group }}"
|
||||||
mode: 0644
|
mode: 0644
|
||||||
notify: restart named
|
notify: Restart named
|
||||||
|
|
||||||
- name: Create excluded configuration files
|
- name: Create excluded configuration files
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
@ -79,7 +79,7 @@
|
|||||||
- etc/named/named.conf.options
|
- etc/named/named.conf.options
|
||||||
- etc/named/named.conf.tsigkeys
|
- etc/named/named.conf.tsigkeys
|
||||||
- etc/named/named.conf.views
|
- etc/named/named.conf.views
|
||||||
notify: restart named
|
notify: Restart named
|
||||||
|
|
||||||
- name: Start and enabled named
|
- name: Start and enabled named
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
|
@ -25,4 +25,4 @@
|
|||||||
loop_control:
|
loop_control:
|
||||||
loop_var: zone
|
loop_var: zone
|
||||||
when: zone.type == 'master'
|
when: zone.type == 'master'
|
||||||
notify: restart named
|
notify: Restart named
|
||||||
|
Loading…
Reference in New Issue
Block a user