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: