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.
|
|
|
---
|
|
|
|
- name: install dhcp
|
|
|
|
pacman:
|
|
|
|
name: dhcp
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: create dhcp file for static ips
|
|
|
|
copy:
|
|
|
|
content: ''
|
|
|
|
dest: /etc/dhcpd.hosts.conf
|
|
|
|
force: no
|
|
|
|
|
|
|
|
- name: copy fastd-services-api.php
|
|
|
|
copy:
|
|
|
|
src: fastd-services-api.php
|
|
|
|
dest: /etc/fastd-services-api.php
|
|
|
|
|
|
|
|
- name: setup cronjob for fastd-services-api
|
|
|
|
cron:
|
|
|
|
name: fastd-services-api
|
|
|
|
minute: '*/10'
|
|
|
|
user: root
|
|
|
|
cron_file: fastd-api
|
|
|
|
job: '/usr/bin/php /etc/fastd-services-api.php'
|
|
|
|
|
|
|
|
- name: dhcpd.conf
|
|
|
|
template:
|
|
|
|
src: dhcpd.conf.j2
|
|
|
|
dest: /etc/dhcpd.conf
|
|
|
|
notify: restart dhcpd4
|