machine_setup/ansible/roles/jail_nat_dhcp/tasks/freebsd.yaml

21 lines
390 B
YAML
Raw Normal View History

2022-12-03 01:45:53 +00:00
- 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