franklinkim.vim
is an Ansible role which:
- installs vim
- configures vim
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
- Ansible >= 1.6
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: []
This is an example playbook:
---
- hosts: all
sudo: yes
roles:
- franklinkim.vim
vars:
vim_config:
- 'set tabstop=2'
- 'set shiftwidth=2'
- 'syntax enable'
$ git clone https://github.com/weareinteractive/ansible-vim.git
$ cd ansible-vim
$ vagrant up
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
Copyright (c) We Are Interactive under the MIT license.