commit 626f29e511b6dfbace1b7558568326c359a3ca09
parent db315f41d84845b2dd9c2e68c171671488197793
Author: Leah Thein <leah@toaster.fritz.box>
Date: Sat, 5 Dec 2020 13:38:16 +0100
parent db315f41d84845b2dd9c2e68c171671488197793
Author: Leah Thein <leah@toaster.fritz.box>
Date: Sat, 5 Dec 2020 13:38:16 +0100
common: add chrony ntp service
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/roles/common/tasks/chrony.yml b/roles/common/tasks/chrony.yml @@ -0,0 +1,13 @@ +--- + +- name: "Install package: chrony" + apk: + name: chrony + state: present + update_cache: yes + +- name: "Enable and restart service: chrony" + service: + name: chronyd + enabled: yes + state: restarted
diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml @@ -3,6 +3,8 @@ - include: network.yml +- include: chrony.yml + - include: sudo.yml - include: sshd.yml