Jérémy Lecour
1728eaee68
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
This reverts commit fafff25c20
.
This reverts commit e64471c5a8084f95a8e6f955d3fa918c55b8e846.
24 lines
318 B
YAML
24 lines
318 B
YAML
---
|
|
- name: Remove openntpd package
|
|
apt:
|
|
name: openntpd
|
|
state: absent
|
|
tags:
|
|
- ntp
|
|
|
|
- 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
|