Skip to content

Commit

Permalink
fix(plugin): rm absolute path of pg_config binary
Browse files Browse the repository at this point in the history
Path differs per distro, so we assume that pg_config is available in $PATH.
  • Loading branch information
adf-patrickha committed May 3, 2024
1 parent 1aa0dd8 commit 702869d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/plugins_postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)""
Expand Down

0 comments on commit 702869d

Please sign in to comment.