feat: added alpine support

This commit is contained in:
Simon Cornet 2025-10-24 21:58:35 +02:00
commit e475d2ce40
4 changed files with 25 additions and 4 deletions

View file

@ -1,9 +1,18 @@
---
# unbound
- name: "restart unbound"
- name: "restart unbound debian"
ansible.builtin.systemd:
name: "unbound.service"
state: "restarted"
daemon_reload: true
enabled: true
when: ansible_os_family == "Debian"
listen: "restart unbound"
- name: "restart unbound alpine"
ansible.builtin.service:
name: "unbound"
state: "restarted"
when: ansible_os_family == "Alpine"
listen: "restart unbound"