Skip to content

Commit 9e8fc06

Browse files
committed
fix(setup-postgrest): i forgot that package_facts returns a list, even for a single package instance
1 parent 5a93b13 commit 9e8fc06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible/tasks/setup-postgrest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
- name: Show installed libpq5 version
2929
ansible.builtin.debug:
30-
msg: "Installed libpq5 version: {{ ansible_facts['packages']['libpq5']['version'] }}"
30+
msg: "Installed libpq5 version: {{ ansible_facts['packages']['libpq5'][0]['version'] }}"
3131

3232
- name: PostgREST - remove Postgres PPA gpg key
3333
ansible.builtin.apt_key:

0 commit comments

Comments
 (0)