AlbanAndrieu.sublimetext
roles/alban_andrieu_sublimetext
This file was generated by Ansigenome. Do not edit this file directly but instead have a look at the files in the ./meta/ directory.
Ensures that sublimetext is properly installed and configured on Ubuntu using Ansible script.
This Simple role allows you to install sublimetext.
Taken from
http://www.sublimetext.com/downloads/
Installation
This role requires at least Ansible v2.3.0.0. To install it, run:
Using ansible-galaxy:
$ ansible-galaxy install alban.andrieu.sublimetext
Using arm (Ansible Role Manager):
$ arm install alban.andrieu.sublimetext
Using git:
$ git clone https://github.com/AlbanAndrieu/ansible-sublimetext.git
Documentation
More information about alban.andrieu.sublimetext can be found in the
TODO official alban.andrieu.sublimetext documentation.
Role variables
List of default variables available in the inventory:
sublimetext_enabled: yes # Enable module
#user: 'albandri' #please override me
user: "{{ lookup('env','USER') }}"
sublimetext_owner: "{{ user }}"
sublimetext_group: "{{ sublimetext_owner }}"
#home: '~' #please override me
home: "{{ lookup('env','HOME') }}"
sublimetext_owner_home: "{{ home }}"
sublimetext_base_dir: "/usr/local/sublimetext"
sublimetext_link_base_dir: "/opt"
sublimetext_dir_tmp: "/tmp" # or override with "{{ tempdir.stdout }} in order to have be sure to download the file"
## Most likely you dont need to edit
#todo sublimetext_service_enabled : 'yes'
#sublimetext_major: "2"
#sublimetext_minor: ".0.2"
sublimetext_major: "3"
sublimetext_minor: "_build_3065"
sublimetext_version: "{{sublimetext_major}}{{sublimetext_minor}}"
sublimetext_name: "sublimetext"
sublimetext_archive_extracted: "sublimetext"
sublimetext_architecture_32: ""
#sublimetext_architecture_64: "%20x64"
sublimetext_architecture_64: "_x64"
sublimetext_architecture: "{{ sublimetext_architecture_64 }}"
#sublimetext_archive: "Sublime%20Text%20{{ sublimetext_version }}{{ sublimetext_architecture }}.tar.bz2"
sublimetext_archive: "sublime_text_{{ sublimetext_version }}{{ sublimetext_architecture }}.tar.bz2"
sublimetext_url: "http://c758482.r82.cf2.rackcdn.com/{{sublimetext_archive}}"
sublimetext_home_dir: "{{sublimetext_base_dir}}/{{sublimetext_name}}-{{sublimetext_version}}"
Detailed usage guide
Describe how to use in more detail...
Testing
$ ansible-galaxy install alban.andrieu.sublimetext
$ vagrant up
Contributing
The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests.
For pull requests, editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.
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.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Authors and license
roles/alban_andrieu_sublimetext role was written by:
- Alban Andrieu | e-mail | Twitter | GitHub
License
- License: GPLv3
Feedback, bug-reports, requests, ...
Are welcome!
This role is part of the Nabla project. README generated by Ansigenome.
Alban Andrieu
ansible-galaxy install AlbanAndrieu.sublimetext