14 lines
237 B
YAML
14 lines
237 B
YAML
---
|
|
- name: Install ntp
|
|
become: true
|
|
ansible.builtin.apt:
|
|
update_cache: true
|
|
pkg:
|
|
- ntp
|
|
|
|
- name: Enable and start ntp service
|
|
become: true
|
|
ansible.builtin.service:
|
|
name: ntp
|
|
enabled: true
|
|
state: started
|