summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-04-22 13:56:59 +0300
committerLars Wirzenius <liw@liw.fi>2023-04-22 13:56:59 +0300
commit82ed1c2a4e3423feb58927eb6d5c9915feb81817 (patch)
tree65ce7cc511beaf91efdbc485c2c2721fa510ac90
parentead0c9fc8f6a4dc57d17c723bf75bf008841d9e3 (diff)
downloaddebian-ansible-82ed1c2a4e3423feb58927eb6d5c9915feb81817.tar.gz
feat(sensible-debian-system): install systemd-timesyncd
I prefer this over the old ntp package. This means that the role no longer works on Debian systems prior to 11. Sponsored-by: author
-rw-r--r--roles/sane_debian_system/subplot.md1
-rw-r--r--roles/sane_debian_system/tasks/env.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/sane_debian_system/subplot.md b/roles/sane_debian_system/subplot.md
index eca9423..be05984 100644
--- a/roles/sane_debian_system/subplot.md
+++ b/roles/sane_debian_system/subplot.md
@@ -20,6 +20,7 @@ and I run the playbook
then the host has the sudo package installed
and the host has the apt-transport-https package installed
and the host has the locales package installed
+and the host has the systemd-timesyncd package installed
and the host has an empty /etc/apt/sources.list.d directory
and the host has hostname saneone
~~~
diff --git a/roles/sane_debian_system/tasks/env.yml b/roles/sane_debian_system/tasks/env.yml
index 0539fee..e44aa41 100644
--- a/roles/sane_debian_system/tasks/env.yml
+++ b/roles/sane_debian_system/tasks/env.yml
@@ -23,6 +23,7 @@
state: present
name:
- locales
+ - systemd-timesyncd
- name: generate locales
locale_gen: