fix: warning on unbound runs

This commit is contained in:
Clément Désiles 2025-12-15 22:13:01 +01:00
parent b35fbe63ee
commit bd2e806aa1
No known key found for this signature in database

View File

@ -119,6 +119,24 @@
mode: "0640" mode: "0640"
state: file state: file
- name: Create /etc/default/unbound for DAEMON_OPTS
ansible.builtin.copy:
dest: /etc/default/unbound
content: |
# Unbound daemon options
DAEMON_OPTS=""
owner: root
group: root
mode: "0644"
- name: Configure sysctl for unbound socket buffers
ansible.posix.sysctl:
name: net.core.rmem_max
value: "1048576"
state: present
sysctl_set: true
reload: true
- name: Install unbound config - name: Install unbound config
ansible.builtin.template: ansible.builtin.template:
src: "{{ item.src }}" src: "{{ item.src }}"