only ensure the git repo is there, do not update

main
Andrew Coleman 2021-06-04 12:49:57 -04:00
parent 66ca5e8792
commit b871f696f4
1 changed files with 7 additions and 1 deletions

View File

@ -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