21 lines
390 B
YAML
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
|