Basic installation of neovim from source.
Has the following variables
Variable | Default Value | Description |
---|---|---|
nvim_version | 0.3.1 | Version of nvim tar |
nvim_install_dest | $HOME/neovim | Location to store neovim bin/ and share/ |
nvim_install_root | false | Whether to install neovim artifacts as root |
The following will install in a users $HOME
or a common location like /usr/local
. --become
is used for installing any required dependencies with yum
. Use nvim_install_root
to dictate whether to install the neovim artifacts as root
.
ansible-playbook install.yml \
-i inventory \
-e "target_hosts=YOUR_HOST" \
-e "nvim_install_dest=$HOME/neovim" \
-e "nvim_install_root=false" \
--become \
--ask-become-pass
ansible-playbook install.yml \
-i inventory \
-e "target_hosts=YOUR_HOST" \
-e "nvim_install_dest=/usr/local" \
-e "nvim_install_root=true" \
--become \
--ask-become-pass