Commit e2e51458 authored by Pietsch, Martin's avatar Pietsch, Martin
Browse files

Merge branch 'devel' into stable

parents bf57859a d42f9c65
......@@ -16,16 +16,22 @@
ansible.builtin.template:
src: "{{ kea_dhcp4_config }}"
dest: "{{ system_config_directory }}/kea/kea-dhcp4.conf"
notify:
- "reload services"
- name: install ISC Kea DHCPv6 configuration
ansible.builtin.template:
src: "{{ kea_dhcp6_config }}"
dest: "{{ system_config_directory }}/kea/kea-dhcp6.conf"
notify:
- "reload services"
- name: install ISC Kea control agent configuration
ansible.builtin.template:
src: "{{ kea_control_agent_config }}"
dest: "{{ system_config_directory }}/kea/kea-ctrl-agent.conf"
notify:
- "reload services"
- name: Workaround to start within a FreeBSD jail container
ansible.builtin.lineinfile:
......@@ -33,21 +39,3 @@
regexp: "^# KEYWORD: nojail"
line: "# KEYWORD: shutdown"
when: ansible_distribution == "FreeBSD"
- name: start ISC Kea service
ansible.builtin.service:
name: "{{ _service }}"
state: started
loop: "{{ package_services }}"
loop_control:
loop_var: _service
register: keastart
- name: reload ISC Kea service
ansible.builtin.service:
name: "{{ _service }}"
state: reloaded
loop: "{{ package_services }}"
loop_control:
loop_var: _service
when: keastart.changed == False
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment