Skip to content

An Ansible role to install and configure Vim on Debian and Ubuntu

License

Notifications You must be signed in to change notification settings

webarch-coop/ansible-role-vim

Repository files navigation

Webarchitects Vim Ansible Role

pipeline status

This is an Ansible role for installing Vim on Debian or Ubuntu, for the root user by default but it can be used for other users.

It creates a ~/.vimrc if it doesn't already exist, enables secure modelines for syntax highlighing and adds syntax highlighing for Nginx

There are six default variables:

Variable name Default value Comment
vim true When True the tasks in this role are run
vim_path /usr/bin/vim.basic The path to vim
vim_alternatives true When True the editor is set to vim_path using update-alternatives
vim_user root The user account to configure
vim_group {{ vim_user }} The group ownership for files and directories created for vim_user
vim_selected true When True the ~/.selected-editor is set to vim_path for vim_user

The primary URL of this repo is https://git.coop/webarch/vim and this is where the release notes are, it is also mirrored to GitHub and available via Ansible Galaxy.

The localhost repo can be used to run this role on the localhost.

About

An Ansible role to install and configure Vim on Debian and Ubuntu

Resources

License

Stars

Watchers

Forks

Packages

No packages published