summaryrefslogtreecommitdiff
path: root/roles/install_ntp/tasks/main.yml
blob: 3a6f6f073cde19ebd5fe95348126cb980a17e09d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- name: install ntp
  pacman:
      update_cache: yes
      name: ntp
      state: present

- name: enable ntp at boot and start it
  systemd:
      name: ntpd.service
      enabled: yes
      state: started