mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Start dbus when setting up postgresql tests.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user