forked from spencergibb/ansible-osx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmacvim.yml
27 lines (24 loc) · 1.13 KB
/
macvim.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
- hosts: workstation
vars:
mavericks_url: https://github.com/b4winckler/macvim/releases/download/snapshot-72/MacVim-snapshot-72-Mavericks.tbz
mountain_lion_url: https://github.com/eee19/macvim/releases/download/snapshot-72/MacVim-snapshot-72-Mountain-Lion.tbz
lion_url: https://github.com/eee19/macvim/releases/download/snapshot-72/MacVim-snapshot-72-Lion.tbz
archive_path: MacVim-snapshot-72/MacVim.app
creates: MacVim.app
tasks:
- name: install macvim Mavericks
mac_pkg: pkg_type=app archive_type=tar url={{mavericks_url}}
archive_path={{archive_path}} creates={{creates}}
sudo: yes
when: mac_major_minor_version == "10.9"
- name: install macvim Mountain Lion
mac_pkg: pkg_type=app archive_type=tar url={{mountain_lion_url}}
archive_path={{archive_path}} creates={{creates}}
sudo: yes
when: mac_major_minor_version == "10.8"
- name: install macvim Lion
mac_pkg: pkg_type=app archive_type=tar url={{lion_url}}
archive_path={{archive_path}} creates={{creates}}
sudo: yes
when: mac_major_minor_version == "10.7"