From 702869d58b9009fd2acc9c2cbbbcf753b3917d68 Mon Sep 17 00:00:00 2001 From: Patrick Hasler Date: Fri, 3 May 2024 18:19:16 +0200 Subject: [PATCH] fix(plugin): rm absolute path of pg_config binary Path differs per distro, so we assume that pg_config is available in $PATH. --- tasks/plugins_postgresql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/plugins_postgresql.yml b/tasks/plugins_postgresql.yml index 829afb6..dfba770 100644 --- a/tasks/plugins_postgresql.yml +++ b/tasks/plugins_postgresql.yml @@ -2,7 +2,7 @@ - name: plugins_postgresql | Fetch postgresql version ansible.builtin.command: - cmd: "/usr/bin/pg_config --version" + cmd: "pg_config --version" changed_when: false register: _psql_version # stdout example: "PostgreSQL 14.11 (Ubuntu 14.11-0ubuntu0.22.04.1)""