ansible-roles/ntpd/tasks/main.yml
Jérémy Lecour 1728eaee68
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
Revert "Add “when: not ansible_check_mode” to allow more --check"
This reverts commit fafff25c20.
This reverts commit e64471c5a8084f95a8e6f955d3fa918c55b8e846.
2022-12-14 07:41:18 +01:00

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