debian-ntp/tasks/main.yml

11 lines
205 B
YAML
Raw Normal View History

2015-07-26 19:39:36 +03:00
---
- name: install ntp
apt: pkg={{ item }} state=latest
with_items:
- ntp
notify: restart ntp
- name: copy ntp default conf
template: src=ntp.conf.j2 dest=/etc/ntp.conf
notify: restart ntp