From 7bacbc8662e70e22ba27a3856f30ae983d5d2b56 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Fri, 13 Nov 2020 08:51:11 +0100 Subject: [PATCH] Install pynvim from pip --- roles/neovim/tasks/main.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/roles/neovim/tasks/main.yaml b/roles/neovim/tasks/main.yaml index e25944f..a3d76eb 100644 --- a/roles/neovim/tasks/main.yaml +++ b/roles/neovim/tasks/main.yaml @@ -1,14 +1,21 @@ --- -- name: install prerequisites +- name: install prerequisites (apt) package: name: - nodejs - npm - - python-neovim - python3 - ripgrep state: latest +- name: install prerequisites (pip) + become_user: "{{ account.name }}" + pip: + name: + - pynvim + state: latest + extra_args: --user + - name: download neovim appimage get_url: url: https://github.com/neovim/neovim/releases/latest/download/nvim.appimage