machine_setup/ansible/roles/jail_nat_dhcp/tasks/freebsd.yaml
2023-04-27 17:05:32 -04:00

21 lines
400 B
YAML

- name: Install packages
package:
name:
- kea
state: present
- name: Install Configuration
copy:
src: "files/{{ item.src }}"
dest: "{{ item.dest }}"
mode: 0644
owner: root
group: wheel
loop:
- src: rc.conf
dest: /etc/rc.conf
- src: kea-dhcp4.conf
dest: /usr/local/etc/kea/kea-dhcp4.conf
- src: resolv.conf
dest: /etc/resolv.conf