From 2c091052d142a24f446f24fafbf4ba667a388ee7 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 23 Oct 2022 15:29:16 +0200 Subject: [PATCH] don't enable systemdtimed in container --- tasks/time.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/time.yml b/tasks/time.yml index 3c4c108..810d5b2 100644 --- a/tasks/time.yml +++ b/tasks/time.yml @@ -5,7 +5,7 @@ enabled: true state: started become: true - when: ansible_facts['os_family'] == 'Archlinux' + when: ansible_facts['os_family'] == 'Archlinux' and not ansible_virtualization_type in ["lxc","docker"] - name: Set timezone and hardware clock timezone: