ansible-roles/ntpd/tasks/main.yml

24 lines
318 B
YAML
Raw Normal View History

2017-06-02 15:44:00 +02:00
---
2017-12-06 00:09:31 +01:00
- name: Remove openntpd package
apt:
name: openntpd
state: absent
tags:
- ntp
2017-06-02 15:44:00 +02:00
- name: Install ntp package
apt:
name: ntp
state: present
tags:
- ntp
- name: Copy ntp config
template:
src: ntp.conf.j2
dest: /etc/ntp.conf
mode: "0644"
notify: restart ntp
tags:
- ntp