diff options
author | Niklas Yann Wettengel <niyawe@niyawe.de> | 2017-03-18 18:38:46 +0100 |
---|---|---|
committer | Niklas Yann Wettengel <niyawe@niyawe.de> | 2017-03-18 18:38:46 +0100 |
commit | cd31d75443119be6580e91d5a9a3ab7742f875ab (patch) | |
tree | 0d12fe52bbb796969336dae613e66ca5f433aba4 /roles/install_dhcp/tasks/main.yml | |
parent | 710a210ae6f165c2e3ce165d30d27f189311656b (diff) |
updated setup_fastd.yml
added features:
- fastd-services-api
- install_nginx
- install_monitoring
Diffstat (limited to 'roles/install_dhcp/tasks/main.yml')
-rw-r--r-- | roles/install_dhcp/tasks/main.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/install_dhcp/tasks/main.yml b/roles/install_dhcp/tasks/main.yml index 60cac06..c8912be 100644 --- a/roles/install_dhcp/tasks/main.yml +++ b/roles/install_dhcp/tasks/main.yml @@ -9,6 +9,24 @@ path: /etc/dhcpd.hosts.conf state: touch +- name: install php + pacman: + name: php + state: present + +- 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 |