weareinteractive.vim
Ansible franklinkim.vim role
franklinkim.vimis an Ansible role which:
- installs vim
- configures vim
Installation
Using ansible-galaxy:
$ ansible-galaxy install franklinkim.vim
Using requirements.yml:
- src: franklinkim.vim
Using git:
$ git clone https://github.com/weareinteractive/ansible-vim.git franklinkim.vim
Dependencies
- Ansible >= 1.6
Variables
Here is a list of all the default variables for this role, which are also available in defaults/main.yml.
---
# For more information about default variables see:
# http://www.ansibleworks.com/docs/playbooks_variables.html#id26
#
# vim_config:
# - "set tabstop=2"
# - "set shiftwidth=2"
# - "syntax enable"
# package name (version)
vim_package: vim
# global vim configuration
vim_config: []
Usage
This is an example playbook:
---
- hosts: all
sudo: yes
roles:
- franklinkim.vim
vars:
vim_config:
- 'set tabstop=2'
- 'set shiftwidth=2'
- 'syntax enable'
Testing
$ git clone https://github.com/weareinteractive/ansible-vim.git
$ cd ansible-vim
$ vagrant up
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Note: To update the README.md file please install and run ansible-role:
$ gem install ansible-role
$ ansible-role docgen
License
Copyright (c) We Are Interactive under the MIT license.
Install
ansible-galaxy install weareinteractive.vimLicense
mit
Downloads
44.4k
Owner
