Skip to content

Commit

Permalink
Update extensions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Dec 13, 2024
1 parent bf99443 commit e84ca65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion automation/roles/packages/tasks/extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@
| from_json).get('tag_name')
| replace('v', '')
}}
check_mode: false
when: pgvectorscale_version | default('latest') == 'latest'

- name: Download pgvectorscale archive
Expand All @@ -258,12 +259,14 @@
dest: "/tmp/{{ pgvectorscale_archive }}"
timeout: 60
validate_certs: false
check_mode: false

- name: Extract pgvectorscale package
ansible.builtin.unarchive:
src: "/tmp/{{ pgvectorscale_archive }}"
dest: "/tmp/"
remote_src: true
check_mode: false

# Debian (only deb packages are available)
- name: "Install pgvectorscale v{{ pgvectorscale_version }} package"
Expand All @@ -273,7 +276,6 @@
until: apt_status is success
delay: 5
retries: 3
check_mode: false
vars:
pgvectorscale_repo: "https://github.com/timescale/pgvectorscale/releases/download/{{ pgvectorscale_version }}"
pgvectorscale_archive: "pgvectorscale-{{ pgvectorscale_version }}-pg{{ pg_version | default(postgresql_version) }}-amd64.zip" # yamllint disable rule:line-length
Expand Down

0 comments on commit e84ca65

Please sign in to comment.