kea_dhcp(role): some fixes and removing arch part

- remove tags from tasks
- remove archlinux part
- use debian default package for kea
This commit is contained in:
bitwhisker 2026-05-25 20:13:29 +02:00
commit 9bff86df7f
Signed by: bitwhisker
SSH key fingerprint: SHA256:KybIk/tusSKao6eLGY+ILlFa1rCrzwx66/acBAcKUqE
8 changed files with 34 additions and 87 deletions

View file

@ -1,12 +1,10 @@
---
- name: Include config vars
tags: [ kea, include_vars ]
when: kea_dhcp__include_vars is not None
ansible.builtin.include_vars:
file: "{{ kea_dhcp__include_vars }}"
- name: Deploy kea-dhcp4 configuration file
tags: [ kea, dhcp4 ]
become: true
when: kea_dhcp__dhcp4.enable
ansible.builtin.template:
@ -18,10 +16,9 @@
mode: "u=rw,g=r,o="
validate: kea-dhcp4 -T %s
notify:
- Kea_dhcp4.reloaded
- Kea_dhcp4.restarted
- name: Deploy kea-dhcp6 configuration file
tags: [ kea, dhcp6 ]
become: true
when: kea_dhcp__dhcp6.enable
ansible.builtin.template:
@ -33,10 +30,9 @@
mode: "u=rw,g=r,o="
validate: kea-dhcp6 -T %s
notify:
- Kea_dhcp6.reloaded
- Kea_dhcp6.restarted
- name: Copy kea-ctrl-agent configuration file
tags: [ kea, ctrl-agent ]
become: true
when: kea_dhcp__stork_agent.enable
ansible.builtin.template:
@ -47,5 +43,5 @@
mode: "u=rw,g=r,o="
validate: kea-ctrl-agent -t %s
notify:
- Kea_ctrl.reloaded
- Kea_ctrl.restarted
- Stork_agent.restarted