mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Start dbus when setting up postgresql tests.
This commit is contained in:
parent
2b9b5f5bb7
commit
c309570540
1 changed files with 6 additions and 0 deletions
|
@ -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…
Reference in a new issue