From b871f696f484c835ca9abe8968079b5b658354e7 Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Fri, 4 Jun 2021 12:49:57 -0400 Subject: [PATCH] only ensure the git repo is there, do not update --- neovim.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/neovim.yml b/neovim.yml index efdc8ac..2ba66a0 100644 --- a/neovim.yml +++ b/neovim.yml @@ -1,5 +1,11 @@ --- - name: clone neovim github repo - ansible.builtin.shell: "cd ~/dev && git clone https://github.com/neovim/neovim.git && cd neovim && gmake && sudo gmake install" + ansible.builtin.git: + repo: 'https://github.com/neovim/neovim.git' + dest: "{{ ansible_env.HOME }}/dev/neovim" + update: no + +- name: build neovim + ansible.builtin.shell: "cd ~/dev/neovim && gmake && sudo gmake install" args: creates: /usr/local/bin/nvim