From 62138612c8eb0b1e767bc9c7ef118d7897eae77f Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 5 Apr 2019 16:44:09 -0700 Subject: [PATCH] [stable-2.7] Start dbus when setting up postgresql tests. (cherry picked from commit c309570540) Co-authored-by: Matt Clay --- test/integration/targets/setup_postgresql_db/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/integration/targets/setup_postgresql_db/tasks/main.yml b/test/integration/targets/setup_postgresql_db/tasks/main.yml index 2a08b7a9750..6576071f7d0 100644 --- a/test/integration/targets/setup_postgresql_db/tasks/main.yml +++ b/test/integration/targets/setup_postgresql_db/tasks/main.yml @@ -17,6 +17,12 @@ - 'default{{ python_suffix }}.yml' paths: '../vars' +- name: make sure the dbus service is started under systemd + systemd: + name: dbus + state: started + when: ansible_service_mgr == 'systemd' and ansible_distribution == 'Fedora' + # Make sure we start fresh - name: stop postgresql service service: name={{ postgresql_service }} state=stopped