From a171d9bb90330f4d34e9a301436c8c2cb4f3c103 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sun, 27 Feb 2022 15:50:06 +0100 Subject: [PATCH] Make timezone tests work on Alpine. (#4292) (#4296) (cherry picked from commit 14ef33475460c634fb9aabd600bc7ec829eec95d) Co-authored-by: Felix Fontein --- tests/integration/targets/timezone/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/integration/targets/timezone/tasks/main.yml b/tests/integration/targets/timezone/tasks/main.yml index ddd7b74e7b..305a458639 100644 --- a/tests/integration/targets/timezone/tasks/main.yml +++ b/tests/integration/targets/timezone/tasks/main.yml @@ -49,6 +49,12 @@ state: present when: ansible_distribution == 'Archlinux' +- name: make sure tzdata is installed on Alpine + package: + name: tzdata + state: present + when: ansible_distribution == 'Alpine' + - name: make sure the dbus service is started under systemd systemd: name: dbus