You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ffmyk-ansible/roles/install_dhcp/tasks/main.yml

16 lines
260 B
YAML

---
- name: install dhcp
pacman:
name: dhcp
state: present
- name: create dhcp file for static ips
file:
path: /etc/dhcpd.hosts.conf
state: touch
- name: dhcpd.conf
template:
src: dhcpd.conf.j2
dest: /etc/dhcpd.conf