configure neovim properly for building

This commit is contained in:
Matthew Stobbs
2025-03-16 17:38:54 -06:00
parent efd62e94eb
commit 43f539253f
4 changed files with 73 additions and 20 deletions

View File

@@ -5,13 +5,25 @@
neovim:
method: "{{ pkgconfig.neovim.methods[ansible_distribution] | default(pkgconfig.neovim.methods.default) }}"
- name: Set neovim config
- name: Set neovim sys package manager config
when:
- neovim.method == 'sys'
ansible.builtin.set_fact:
neovim:
method: "{{ neovim.method }}"
vers: "v{{ pkgconfig.neovim.version }}"
pkgs: "{{ pkgconfig.neovim.pkgs[ansible_distribution] | default(pkgconfig.neovim.pkgs.default) }}"
- name: Set neovim src build config
when:
- neovim.method == 'src'
ansible.builtin.set_fact:
neovim:
method: "{{ neovim.method }}"
vers: "{{ pkgconfig.neovim.git_branch }}"
build_deps: "{{ pkgconfig.neovim.build_deps[ansible_os_family] }}"
git_repo: "{{ pkgconfig.neovim.git_repo }}"
git_path: "{{ d_tempdir.path }}/neovim"
build_type: "{{ pkgconfig.neovim.build_type }}"
- name: Set neovim config for appimage install
when: