first changes

This commit is contained in:
rene
2021-02-23 17:52:39 +01:00
parent 6f96a5b920
commit 18f9bcbc81
13 changed files with 250 additions and 4 deletions

View File

@@ -0,0 +1,27 @@
- name: system setup | clock | install systemd-timesyncd (ubuntu)
tags: ntp,system setup
package:
name: systemd-timesyncd
state: latest
when: ansible_distribution in ["Pop!_OS", "Ubuntu"]
# Currently systemd-timesyncd for debian is available only in buster-backports
- name: system setup | clock | install systemd-timesyncd (debian)
tags: ntp, system setup
apt:
name: systemd-timesyncd
default_release: buster-packports
state: latest
when: ansible_distribution == "Debian"
- name: system setup | clock | start and enable systemd-timestampd
tags: ntp,system setup
service:
name: systemd-timesyncd
state: started
enabled: true
- name: system setup | clock | set time zone
tags: tnp,timezone,system setup
timezone:
name: "Europe/Berlin"