Ansible role to install sublime-text, package control and sublime-text plugins on CentOS or Ubuntu.
This role is tested via TravisCI on following platforms:
- Ubuntu 18.04 LTS (bionic)
- Ubuntu 16.04 LTS (xenial)
- Ubuntu 14.04 LTS (trusty)
- CentOS 7
- CentOS 6
- Debian 8 (Jessie)
- Debian 9 (Stretch)
No requirements.
sublime_version: 3
sublime_package_control: true
Configure sublime plugins that will be installed via git
using the sublime_packages
property. Use the format [plugin1GithubUrl, plugin2GithubUrl, ..]
or [{name: plugin1GithubUrl, version: plugin1Ref}, ..]
.
sublime_packages:
- 'https://github.com/skuroda/Sublime-AdvancedNewFile.git'
- 'https://github.com/clifford-github/sublime-ansible.git'
- 'https://github.com/weslly/ColorPicker.git'
- 'https://github.com/kemayo/sublime-text-git.git'
- 'https://github.com/jisaacks/GitGutter.git'
- 'https://github.com/mitsuhiko/jinja2-tmbundle'
- 'https://github.com/revolunet/sublimetext-markdown-preview'
- 'https://github.com/SublimeLinter/SublimeLinter3.git'
- 'https://github.com/Microsoft/TypeScript-Sublime-Plugin.git'
Enable license key via the sublime_license
property. This is disabled by default, as sublime_license_key
needs to be supplied.
Please use a valid license key as, while it will import the provided key, sublime will still report as [UNREGISTERED].
sublime_license: false
sublime_license_key: |
----- BEGIN LICENSE -----
John Doe
Single User License
XXXX-XXXXXXX-XXXXXX
YYYYYYYY YYYYYYYY YYYYYYYY YYYYYYYY
YYYYYYYY YYYYYYYY YYYYYYYY YYYYYYYY
YYYYYYYY YYYYYYYY YYYYYYYY YYYYYYYY
YYYYYYYY YYYYYYYY YYYYYYYY YYYYYYYY
YYYYYYYY YYYYYYYY YYYYYYYY YYYYYYYY
YYYYYYYY YYYYYYYY YYYYYYYY YYYYYYYY
YYYYYYYY YYYYYYYY YYYYYYYY YYYYYYYY
YYYYYYYY YYYYYYYY YYYYYYYY YYYYYYYY
------ END LICENSE ------
No dependencies.
- hosts: servers
roles:
- { role: chaosmail.sublime-text }
Also see up to date example in repository path: tests/test.yml
MIT
Christoph Koerner