From d76012087064d53a1f631880eecb30836b1ef585 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 10 Jan 2024 15:36:22 +0100 Subject: [PATCH] dhcp4-server template --- kea-dhcp-ha/provision/setup-kea.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kea-dhcp-ha/provision/setup-kea.yml b/kea-dhcp-ha/provision/setup-kea.yml index 738c97c..aaffaa1 100644 --- a/kea-dhcp-ha/provision/setup-kea.yml +++ b/kea-dhcp-ha/provision/setup-kea.yml @@ -21,6 +21,7 @@ ansible.builtin.service: name: kea-ctrl-agent state: restarted + enabled: yes - name: genere ikea-dhcp4.conf a partir de la template ansible.builtin.template: @@ -28,4 +29,9 @@ dest: /etc/kea/kea-dhcp4.conf backup: yes + - name: relance service kea-dhcp4-server + ansible.builtin.service: + name: kea-dhcp4-server + state: restarted + enabled: yes