Skip to content

Commit

Permalink
Download pgvectorscale archive in check_mode
Browse files Browse the repository at this point in the history
Added the check_mode: false parameter to the task responsible for downloading the pgvectorscale archive using the ansible.builtin.get_url module. This ensures that the task executes even in --check mode, preventing it from being skipped and ensuring the file is downloaded. This change addresses an error where subsequent tasks fail due to the missing downloaded archive.
  • Loading branch information
vitabaks committed Dec 13, 2024
1 parent 5905415 commit e8b6319
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions automation/roles/packages/tasks/extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@
dest: "/tmp/{{ pgvectorscale_archive }}"
timeout: 60
validate_certs: false
check_mode: false

- name: Extract pgvectorscale package
ansible.builtin.unarchive:
Expand Down

0 comments on commit e8b6319

Please sign in to comment.