diff options
author | Matt Clay <matt@mystile.com> | 2019-04-05 16:44:09 -0700 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2019-08-15 13:24:36 -0700 |
commit | c64e9736a31ee51002facedad4b35af6a9b7a38a (patch) | |
tree | b8b0da99732f1a9e0b4f724e954a13beb907c141 | |
parent | 4b5aed4e5af4c7aab621662f50a289e99b8ac393 (diff) | |
download | ansible-c64e9736a31ee51002facedad4b35af6a9b7a38a.tar.gz |
[stable-2.6] Start dbus when setting up postgresql tests.
(cherry picked from commit c309570540)
Co-authored-by: Matt Clay <matt@mystile.com>
-rw-r--r-- | test/integration/targets/setup_postgresql_db/tasks/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/integration/targets/setup_postgresql_db/tasks/main.yml b/test/integration/targets/setup_postgresql_db/tasks/main.yml index 2a08b7a975..6576071f7d 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 |