chore: use Postgres 12 as default (#2)
All checks were successful
continuous-integration/drone/push Build is passing

Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-committed-by: Robert Kaussow <xoxys@rknet.org>
This commit is contained in:
Robert Kaussow 2021-11-28 14:27:45 +01:00
parent 565cc466a9
commit 6b093ce920
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
--- ---
postgres_repository_enabled: False postgres_repository_enabled: False
postgres_version: 10 postgres_version: 12
postgres_repository_filename: "Postgresql-{{ postgres_version | regex_replace('\\.') }}" postgres_repository_filename: "Postgresql-{{ postgres_version | regex_replace('\\.') }}"
postgres_user: postgres postgres_user: postgres
postgres_group: postgres postgres_group: postgres

View File

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