Browse code

[stable-2.7] Start dbus when setting up postgresql tests. (cherry picked from commit c309570540)

Co-authored-by: Matt Clay <matt@mystile.com>

Matt Clay authored on 2019/04/06 08:44:09
Showing 1 changed files
... ...
@@ -17,6 +17,12 @@
17 17
         - 'default{{ python_suffix }}.yml'
18 18
       paths: '../vars'
19 19
 
20
+- name: make sure the dbus service is started under systemd
21
+  systemd:
22
+    name: dbus
23
+    state: started
24
+  when: ansible_service_mgr == 'systemd' and ansible_distribution == 'Fedora'
25
+
20 26
 # Make sure we start fresh
21 27
 - name: stop postgresql service
22 28
   service: name={{ postgresql_service }} state=stopped