nicolaiskogheim / ansible-vim

Ansible role which installs and configures vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible franklinkim.vim role

Build Status Galaxy GitHub Tags GitHub Stars

franklinkim.vim is 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.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. 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.

About

Ansible role which installs and configures vim

License:MIT License


Languages

Language:Shell 100.0%