ansible-roles/ntpd/tasks/main.yml
Jérémy Lecour ee21973371
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2777|524|2253|2462|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Use FQCN
Fully Qualified Collection Name
2023-03-20 23:33:19 +01:00

24 lines
366 B
YAML

---
- name: Remove openntpd package
ansible.builtin.apt:
name: openntpd
state: absent
tags:
- ntp
- name: Install ntp package
ansible.builtin.apt:
name: ntp
state: present
tags:
- ntp
- name: Copy ntp config
ansible.builtin.template:
src: ntp.conf.j2
dest: /etc/ntp.conf
mode: "0644"
notify: restart ntp
tags:
- ntp