Update neovim version & use checksum to verify downloads

This commit is contained in:
sonny 2025-02-15 09:10:26 +01:00
parent cbddfba5ee
commit 0bf40c8972
2 changed files with 4 additions and 4 deletions

View file

@ -163,12 +163,12 @@
neovim_installed_version: neovim_stats.stdout_lines[0] | regex_search('(v\d+\.\d+\.\d+)')
when: neovim_stats.rc == 0
# TODO: verify checksum
- name: Download neovim {{ neovim.version }}
ansible.builtin.get_url:
url: 'https://github.com/neovim/neovim/releases/download/{{ neovim.version }}/nvim-linux64.tar.gz'
url: 'https://github.com/neovim/neovim/releases/download/{{ neovim.version }}/nvim-linux-x86_64.tar.gz'
dest: /tmp/nvim-linux64.tar.gz
mode: '0755'
checksum: '{{ neovim.download_checksum }}'
when: neovim_stats.rc > 0 or neovim_installed_version != neovim.version
register: neovim_download