diff options
Diffstat (limited to 'roles/install_ntp/tasks')
-rw-r--r-- | roles/install_ntp/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/install_ntp/tasks/main.yml b/roles/install_ntp/tasks/main.yml new file mode 100644 index 0000000..3a6f6f0 --- /dev/null +++ b/roles/install_ntp/tasks/main.yml @@ -0,0 +1,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 |