--- - name: clone neovim github repo 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