ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Ansible

Syntax highlighting for Ansible

Details

  • 23.09.1
    1.0.0
  • github.​com
  • github.​com
  • 2 years ago
  • 2 hours ago
  • 11 years ago

Installs

  • Total 39K
  • Win 10K
  • Mac 16K
  • Linux 13K
Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21
Windows 3 0 0 1 0 0 0 2 3 0 2 1 0 0 2 1 1 1 0 0 1 2 0 1 1 0 0 0 2 1 3 0 1 0 1 0 2 1 0 1 1 2 0 1 1 1
Mac 0 1 1 1 0 0 0 1 3 2 1 0 1 1 0 0 0 0 1 0 1 2 3 5 3 0 1 0 1 2 1 2 2 2 1 1 6 0 2 3 0 1 3 1 3 1
Linux 1 1 0 2 0 0 0 1 4 1 0 1 0 0 3 0 2 1 0 1 1 0 0 2 4 0 0 1 0 1 0 0 1 2 2 1 2 2 1 1 1 2 3 3 1 2

Readme

Source
raw.​githubusercontent.​com

Syntax highlighting for Ansible files

Screenshot

With color scheme Monokai

Screenshot

Installation

I recommend install another package along with this one, “Apply Syntax” package since this syntax does not take ownership of yml nor yaml files.

Package Manager

First, install the Package Control plugin, instructions here: http://wbond.net/sublime_packages/package_control.

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.

Manual

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:

  • OS X: ~/Library/Application Support/Sublime Text 2/Packages/
  • Linux: ~/.Sublime Text 2/Packages/
  • Windows: %APPDATA%/Sublime Text 2/Packages/