From aea89a9f4dc3548d0295b0fd513c5c9b08207ffa Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Fri, 17 Mar 2017 19:32:27 +0100 Subject: updated setup_fastd.yml added features: - configure systemd-journald - install haveged - install ntp --- roles/install_ntp/tasks/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 roles/install_ntp/tasks/main.yml (limited to 'roles/install_ntp/tasks/main.yml') 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 -- cgit v1.2.3-54-g00ecf