kea_dhcp(role): update to newest fux noc version
This commit is contained in:
parent
6006dbca27
commit
8d9cb0007c
14 changed files with 322 additions and 231 deletions
|
|
@ -1,9 +1,20 @@
|
|||
---
|
||||
- name: Include config vars
|
||||
when: kea_dhcp__include_vars != None
|
||||
ansible.builtin.include_vars:
|
||||
file: "{{ kea_dhcp__include_vars }}"
|
||||
|
||||
- name: Merge default vars with host_vars
|
||||
ansible.builtin.set_fact:
|
||||
kea_dhcp__stork_agent: "{{ kea_dhcp__stork_agent_defaults | combine(kea_dhcp__stork_agent, recursive=True) }}"
|
||||
kea_dhcp__dhcp4: "{{ kea_dhcp__dhcp4_defaults | combine(kea_dhcp__dhcp4, recursive=True) }}"
|
||||
kea_dhcp__dhcp6: "{{ kea_dhcp__dhcp6_defaults | combine(kea_dhcp__dhcp6, recursive=True) }}"
|
||||
|
||||
- name: Setup Kea DHCP
|
||||
block:
|
||||
- name: Install Kea on Debian
|
||||
when: ansible_facts['distribution'] == "Debian"
|
||||
ansible.builtin.import_tasks: install_debian.yml
|
||||
ansible.builtin.import_tasks: install_debian.yaml
|
||||
|
||||
- name: Configure Kea
|
||||
ansible.builtin.include_tasks: kea.yaml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue