From 14d2ed54e5095fb48951d241cd75997aad9e37ac Mon Sep 17 00:00:00 2001 From: Viktor Berke Date: Thu, 28 Nov 2024 23:05:48 +0100 Subject: [PATCH] Postgres devs don't like stderr apparently --- tasks/init.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/init.yml b/tasks/init.yml index a2d016a..419bc0e 100644 --- a/tasks/init.yml +++ b/tasks/init.yml @@ -4,4 +4,4 @@ cmd: "postgresql-{{ eff_pg_version }}-setup initdb" register: noobient_pg_initdb changed_when: noobient_pg_initdb_ok_str in noobient_pg_initdb.stdout - failed_when: noobient_pg_initdb.rc != 0 and noobient_pg_initdb_exists_str not in noobient_pg_initdb.stderr + failed_when: noobient_pg_initdb.rc != 0 and noobient_pg_initdb_exists_str not in noobient_pg_initdb.stdout