fix: security channel file
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Markus Pesch 2023-02-11 16:00:33 +01:00
parent 4ef83cee22
commit 55c3ccae08
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
3 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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:

View File

@ -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