fix molecule tests
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
Robert Kaussow 2021-11-28 14:26:17 +01:00
parent f8343ad5e5
commit e35f9e810a
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -8,12 +8,12 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
def test_postgres_is_installed(host):
postgres = host.package("postgresql10-server")
postgres = host.package("postgresql12-server")
assert postgres.is_installed
def test_postgres_running_and_enabled(host):
postgres = host.service("postgresql-10")
postgres = host.service("postgresql-12")
assert postgres.is_running
assert postgres.is_enabled