From f0480ab132bc2beb1feea42c7fcd714429114f38 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Thu, 4 Apr 2019 11:11:31 -0700 Subject: [PATCH] Fix timezone test for newer Fedora containers. (#54874) --- test/integration/targets/timezone/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/integration/targets/timezone/tasks/main.yml b/test/integration/targets/timezone/tasks/main.yml index 7ea3de48fb0..92f0b8c59bf 100644 --- a/test/integration/targets/timezone/tasks/main.yml +++ b/test/integration/targets/timezone/tasks/main.yml @@ -38,6 +38,12 @@ #### timezone tests #### +- name: make sure the dbus service is started under systemd + systemd: + name: dbus + state: started + when: ansible_service_mgr == 'systemd' and ansible_distribution == 'Fedora' + - name: set timezone to Etc/UTC timezone: name: Etc/UTC