dhcp4.conf

This commit is contained in:
phil 2024-01-10 13:44:32 +01:00
parent d02c5e36c0
commit eda471703b

View File

@ -17,8 +17,15 @@
replace: '"http-host": "{{ srv_ip }}",' replace: '"http-host": "{{ srv_ip }}",'
backup: yes backup: yes
- name: genere ca.cnf dasn /etc/kea-ctrl-agent - name: relance service kea-ctrl-agent
fetch: ansible.builtin.service:
src: /etc/kea/kea-dhcp4.conf name: kea-ctrl-agent
dest: ./ state: restarted
flat: yes
- name: genere ikea-dhcp4.conf a partir de la template
ansible.builtin.template:
src: kea-dhcp4.conf.j2
dest: /etc/kea/kea-dhcp4.conf
backup: yes