diff --git a/tests/integration/targets/setup_postgresql_db/tasks/main.yml b/tests/integration/targets/setup_postgresql_db/tasks/main.yml index 2322ee2cbf..c7d399a413 100644 --- a/tests/integration/targets/setup_postgresql_db/tasks/main.yml +++ b/tests/integration/targets/setup_postgresql_db/tasks/main.yml @@ -37,7 +37,7 @@ systemd: name: dbus state: started - when: ansible_service_mgr == 'systemd' and ansible_distribution == 'Fedora' + when: ansible_service_mgr == 'systemd' and ansible_distribution == 'Fedora' and (ansible_facts.distribution_major_version | int) < 34 - name: Kill all postgres processes shell: 'pkill -u {{ pg_user }}'