echoip/provisioning/roles/ntp/tasks/main.yml

16 lines
290 B
YAML
Raw Normal View History

---
- name: set timezone
copy: src=timezone
dest=/etc/timezone
owner=root
group=root
mode=0644
notify:
- update timezone
- name: install ntp
apt: pkg=ntp state=latest
- name: make sure ntp is running
service: name=ntp state=running enabled=yes