- create unbound role - create kea_dhcp role - configure unbound and keadhcp on rt1(z9 host)
19 lines
577 B
YAML
19 lines
577 B
YAML
---
|
|
- name: Setup Kea DHCP
|
|
tags: [kea, dhcp]
|
|
block:
|
|
- name: Install Kea on Archlinux
|
|
when: ansible_facts['distribution'] == "Archlinux"
|
|
ansible.builtin.import_tasks: install_archlinux.yml
|
|
|
|
- name: Install Kea on Debian
|
|
when: ansible_facts['distribution'] == "Debian"
|
|
ansible.builtin.import_tasks: install_debian.yml
|
|
|
|
- name: Configure Kea
|
|
ansible.builtin.include_tasks: kea.yaml
|
|
|
|
- name: Run stork-agent tasks
|
|
tags: [stork-agent, monitoring]
|
|
when: kea_dhcp__stork_agent.enable
|
|
ansible.builtin.include_tasks: stork-agent.yaml
|