Initial commit
This commit is contained in:
commit
54375b7815
3 changed files with 60 additions and 0 deletions
13
tasks/main.yml
Normal file
13
tasks/main.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
- name: install packages
|
||||
ansible.builtin.apt:
|
||||
pkg:
|
||||
- kea
|
||||
|
||||
- name: copy dhcpv4 config
|
||||
copy:
|
||||
dest: /etc/kea/kea-dhcp4.conf
|
||||
content: "{{ {'Dhcp4': kea_dhcp4}|to_nice_json(indent=4) }}\n"
|
||||
owner: root
|
||||
group: _kea
|
||||
mode: "0640"
|
||||
notify: restart kea-dhcp4-server
|
||||
Loading…
Add table
Add a link
Reference in a new issue