[stable-2.7] Start dbus when setting up postgresql tests.

(cherry picked from commit c309570540)

Co-authored-by: Matt Clay <matt@mystile.com>
pull/61428/head
Matt Clay 6 years ago committed by Toshio Kuratomi
parent d728127310
commit 62138612c8

@ -17,6 +17,12 @@
- 'default{{ python_suffix }}.yml' - 'default{{ python_suffix }}.yml'
paths: '../vars' 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 # Make sure we start fresh
- name: stop postgresql service - name: stop postgresql service
service: name={{ postgresql_service }} state=stopped service: name={{ postgresql_service }} state=stopped

Loading…
Cancel
Save