Skip to content

Commit 7325414

Browse files
Merge pull request #2 from f500/stretch
Support Debian Stretch
2 parents f5bbcf0 + 870124d commit 7325414

File tree

4 files changed

+7
-160
lines changed

4 files changed

+7
-160
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Install Vim, set vimrc and use update-alternatives to add vim
66
Requirements
77
------------
88

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

1111
Example Playbook
1212
-------------------------
@@ -18,7 +18,7 @@ Example Playbook
1818
License
1919
-------
2020

21-
LGPL.
21+
LGPL-3.0
2222

2323
This role includes a module called **update_alternatives** written by Philipp Grau, released
2424
under the GPL license.

library/update_alternatives

Lines changed: 0 additions & 155 deletions
This file was deleted.

meta/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ galaxy_info:
33
author: "Jasper N. Brouwer, Ramon de la Fuente"
44
description: "Install Vim, set vimrc and use update-alternatives to add vim"
55
company: Future500
6-
license: LGPL
7-
min_ansible_version: 1.4
6+
license: LGPL-3.0
7+
min_ansible_version: 1.6
88
platforms:
99
- name: Debian
1010
versions:
1111
- wheezy
12+
- jessie
13+
- stretch
1214
categories:
1315
- system
1416
dependencies: []

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
copy: src=vimrc dest=/etc/vim/vimrc owner=root group=root mode=0644
88

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

0 commit comments

Comments
 (0)