Skip to content
Syntax highlighting for Ansible
Branch: master
Clone or download

Syntax highlighting for Ansible files


With color scheme Monokai



Package Manager

First, install the Package Control plugin, instructions here:

Once you install Package Control, restart Sublime Text and bring up the Command Palette (Command+Shift+P on OS X, Control+Shift+P on Linux/Windows).

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 Ansible

The "Packages" directory is located at:

  • OS X: ~/Library/Application Support/Sublime Text 2/Packages/
  • Linux: ~/.Sublime Text 2/Packages/
  • Windows: %APPDATA%/Sublime Text 2/Packages/
You can’t perform that action at this time.