Skip to content

Commit

Permalink
Merge pull request #2 from f500/stretch
Browse files Browse the repository at this point in the history
Support Debian Stretch
  • Loading branch information
jaspernbrouwer authored Jul 6, 2017
2 parents f5bbcf0 + 870124d commit 7325414
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 160 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Install Vim, set vimrc and use update-alternatives to add vim
Requirements
------------

Debian Wheezy with the package python-pycurl and python-software-properties installed.
Debian Wheezy/Jessie/Stretch with the package python-pycurl and python-software-properties installed.

Example Playbook
-------------------------
Expand All @@ -18,7 +18,7 @@ Example Playbook
License
-------

LGPL.
LGPL-3.0

This role includes a module called **update_alternatives** written by Philipp Grau, released
under the GPL license.
Expand Down
155 changes: 0 additions & 155 deletions library/update_alternatives

This file was deleted.

6 changes: 4 additions & 2 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ galaxy_info:
author: "Jasper N. Brouwer, Ramon de la Fuente"
description: "Install Vim, set vimrc and use update-alternatives to add vim"
company: Future500
license: LGPL
min_ansible_version: 1.4
license: LGPL-3.0
min_ansible_version: 1.6
platforms:
- name: Debian
versions:
- wheezy
- jessie
- stretch
categories:
- system
dependencies: []
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
copy: src=vimrc dest=/etc/vim/vimrc owner=root group=root mode=0644

- name: set vim alternatives
update_alternatives: "link={{ item }} target=/usr/bin/vim.basic"
alternatives: "name={{ item }} path=/usr/bin/vim.basic"
with_items: [editor, ex, rview, rvim, vi, view, vim, vimdiff]

0 comments on commit 7325414

Please sign in to comment.