From 6ff8a81ab160b18aba0011fc4ae884bfd2a63607 Mon Sep 17 00:00:00 2001 From: Matthew Stobbs Date: Mon, 13 Oct 2025 11:41:44 -0600 Subject: [PATCH] fix when neovim triggers a clean and rebuild --- tasks/src/neovim.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tasks/src/neovim.yml b/tasks/src/neovim.yml index 02d9bc5..6dd67a7 100644 --- a/tasks/src/neovim.yml +++ b/tasks/src/neovim.yml @@ -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: