fix when neovim triggers a clean and rebuild

This commit is contained in:
Matthew Stobbs
2025-10-13 11:41:44 -06:00
parent 78a9d05b94
commit 6ff8a81ab1

View File

@@ -4,7 +4,7 @@
when:
- neovim.installed_files is defined
- neovim.clean
- not _pkgconfig_force_rebuild
- _pkgconfig_force_rebuild
become: "{{ ext_become }}"
loop: "{{ neovim.installed_files }}"
loop_control:
@@ -20,8 +20,7 @@
- name: Build and install neovim {{ neovim.git_branch }}
when:
- not stat_neovim_inst.stat.exists or
(_pkgconfig_force_neovim is defined and _pkgconfig_force_neovim)
- not stat_neovim_inst.stat.exists
block:
- name: Clone neovim git repository
ansible.builtin.git: