From 64d59e85bf7746dba49aa1688de7e444d805c911 Mon Sep 17 00:00:00 2001 From: Boris <91973490+jimnydev@users.noreply.github.com> Date: Wed, 25 Oct 2023 22:47:21 +0200 Subject: [PATCH] roles: pgbouncer: drop q option (#491) --- roles/pgbouncer/config/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/pgbouncer/config/tasks/main.yml b/roles/pgbouncer/config/tasks/main.yml index 81f534f78..a2924208a 100644 --- a/roles/pgbouncer/config/tasks/main.yml +++ b/roles/pgbouncer/config/tasks/main.yml @@ -26,7 +26,7 @@ become: true become_user: postgres ansible.builtin.command: >- - {{ postgresql_bin_dir }}/psql -p {{ postgresql_port }} -U {{ patroni_superuser_username }} -d postgres -tAXcq + {{ postgresql_bin_dir }}/psql -p {{ postgresql_port }} -U {{ patroni_superuser_username }} -d postgres -tAXc "SELECT concat('\"', usename, '\" \"', passwd, '\"') FROM pg_shadow where usename != '{{ patroni_replication_username }}'" register: pg_shadow_result changed_when: false