machine_setup/ansible/roles/jail_nat_dhcp/tasks/freebsd.yaml
2022-12-02 20:45:53 -05:00

21 lines
390 B
YAML

- name: Install packages
package:
name:
- dhcpd
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: dhcpd.conf
dest: /usr/local/etc/dhcpd.conf
- src: resolv.conf
dest: /etc/resolv.conf