ansible-dhcpd/tasks/main.yml
Maciej Delmanowski 5d5fd43a08 ginas project is renamed to DebOps project
This patch renames all role directories from 'ginas.' to 'debops.'
prefix, no other changes should be expected. Some script names are also
changed, but that shouldn't affect normal operations.
2014-08-26 23:36:08 +02:00

14 lines
353 B
YAML

---
- name: Install DHCP server packages
apt: pkg={{ item }} state=latest install_recommends=no
with_items: [ 'isc-dhcp-server' ]
- name: Configure DHCP server
template: src={{ item }}.j2 dest=/{{ item }} owner=root group=root mode=0644
with_items: [ 'etc/default/isc-dhcp-server', 'etc/dhcp/dhcpd.conf' ]
notify: Restart isc-dhcp-server