Installs Neovim with or without Packer plugin manager on RHEL or Debian/Ubuntu servers.
None.
Available variables are listed below, along with default values (refer to defaults and vars directories).
neovim_git_ref: master
neovim_path: /usr/local
These variables control Neovim installation process:
neovim_path
- path to Neovim binary (bin/nvim
is appended automatically).neovim_git_ref
- git reference of Neovim repository to be installed.
neovim_packer: false
neovim_packer_config_path: "{{ ansible_user_dir }}/.config/nvim/lua/custom"
Above variables configures Packer plugin manager installation:
neovim_packer
- enables Packer installation.neovim_packer_config_path
- path to Packer's basic configuration.
None.
- hosts: all
roles:
- role: kmezynski.neovim
neovim_git_ref: v0.9.1
neovim_path: /usr # bin/nvim is appended automatically
neovim_packer: true
This role is distributed under the terms of MIT license.
This role was created in 2023 by Kamil Mężyński.