Skip to content

Commit 702869d

Browse files
committed
fix(plugin): rm absolute path of pg_config binary
Path differs per distro, so we assume that pg_config is available in $PATH.
1 parent 1aa0dd8 commit 702869d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/plugins_postgresql.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
- name: plugins_postgresql | Fetch postgresql version
44
ansible.builtin.command:
5-
cmd: "/usr/bin/pg_config --version"
5+
cmd: "pg_config --version"
66
changed_when: false
77
register: _psql_version
88
# stdout example: "PostgreSQL 14.11 (Ubuntu 14.11-0ubuntu0.22.04.1)""

0 commit comments

Comments
 (0)