ansible-schulung/roles/chrony/tasks/main.yml
2024-12-18 08:49:20 +01:00

29 lines
466 B
YAML

---
- tags: chrony
block:
- name: Package
apt:
state: present
name:
- chrony
update_cache: true
tags: installchrony
- name: Service
systemd:
state: started
name: chrony
enabled: true
tags: startchrony
- name: Configfile
copy:
src: chrony.conf
dest: /etc/chrony/chrony.conf
owner: root
group: root
mode: '0644'
notify:
- Restart
# - waitfor chrony