Ansible Role: SmartGit
Installs SmartGit.
Requirements
- Darwin
- Mac OS X: 10.7+ (Lion|Mountain Lion|Mavericks|Yosemite)
- Linux
- Default pkg mgr is apt (Debian|Elementary OS|Ubuntu)
TODO: Generic .tar.gz for larger OS footprint
Role Variables
# --- Remote Sources ---
smartgit_mirror: "http://www.syntevo.com/downloads/smartgit"
smartgit_version: "6_5_7"
# --- Local Destinations ---
smartgit_tmp: "/tmp"
# --- Mac OS X defaults (dmg file) ---
smartgit_dmg_url: "{{ smartgit_mirror }}/smartgit-macosx-{{ smartgit_version }}.dmg"
smartgit_dmg_tmp: "{{ smartgit_tmp }}/smartgit-macosx-{{ smartgit_version }}.dmg"
smartgit_dmg_mount: "/Volumes/SmartGit {{ smartgit_version | replace('_', '.') }}"
# --- apt defaults (Debian, Elementary, Ubuntu, etc) ---
smartgit_deb_url: "{{ smartgit_mirror }}/smartgit-{{ smartgit_version }}.deb"
smartgit_tmp_deb: "{{ smartgit_tmp }}/smartgit-{{ smartgit_version }}.deb"
Dependencies
- Linux: JRE 1.7+, git
TODO: Linux Java & Git dependency handling.
Example Playbook
- hosts: development
roles:
- role: ansible-role-smartgit
License
BSD
Author Information
Prescott Chris