Syntax highlighting for Ansible
With color scheme Monokai
First, install the Package Control plugin, instructions here: http://wbond.net/sublimepackages/packagecontrol.
Once you install Package Control, restart Sublime Text and bring up the Command Palette (
Command+Shift+Pon OS X,
Select "Package Control: Install Package", wait while Package Control fetches the latest package list, then select "Ansible" when the list appears.
The advantage of using this method is that Package Control will automatically keep this package up to date with the latest version.
Clone the repository in your Sublime Text "Packages" directory:
git clone https://github.com/clifford-github/sublime-ansible.git Ansible
The "Packages" directory is located at:
~/Library/Application Support/Sublime Text 2/Packages/
~/.Sublime Text 2/Packages/
%APPDATA%/Sublime Text 2/Packages/