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

Ansible Vault

by adambullmer ST3

Ansible vault manipulation in Sublime Text

Details

Installs

  • Total 3K
  • Win 775
  • OS X 1K
  • Linux 952
Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10
Windows 0 0 0 1 0 3 1 1 0 0 1 2 0 1 2 2 0 2 1 0 1 0 0 0 0 2 2 1 2 0 0 0 4 1 1 3 0 0 0 1 2 2 1 1 1 1
OS X 1 0 0 3 2 3 3 1 1 1 0 3 2 1 0 0 0 1 2 4 3 1 0 0 1 2 3 2 3 0 1 1 1 2 4 0 0 0 1 2 3 2 2 1 0 0
Linux 2 0 2 0 2 1 3 4 1 1 1 1 1 2 1 0 0 1 2 2 4 1 0 0 2 1 1 0 1 2 1 0 2 2 0 0 2 0 3 1 0 1 3 2 1 2

Readme

Source
raw.​githubusercontent.​com

sublime_ansible_vault

Ansible vault manipulation in Sublime Text

Pre-requisites

Installation

With Package Control:

  1. Run the Package Control: Install Package command, find and install the Ansible Vault plugin.
  2. Restart Sublime Text (if required)

Manually:

  1. Clone or download the git repo into your packages folder (in Sublime Text, find Browse Packages… menu item to open this folder)
  2. Restart Sublime Text editor (if required)

Usage

To peek into an encrypted vault, you can either, open your command pallette and search for Ansible Vault: View or, you can use the menu: Tools > Ansible Vault > View

Viewing will open a new, read only tab. But this will not modify the original vault. If you want to modify a vault, you should decrypt instead.

Configuration

The following options are available:

Setting Default Description
password '' Plain text ansible vault password.
password_file '' Absolute path to your ansible vault password file
debug false true/false flag for extra logging into the sublime text console.
ansible_path '' Path override if it is desired to not use a system version of ansible-vault. Use the path to the binary directory with a trailing slash. This is useful for using the binary out of a virtualenv.

If none of the password options are used, then you will be prompted for your password on each vault action.

Project Specific Settings

You can override all settings with the use of the configuration key inside of your project file.

{
    "folders": [
        //... Folder List here
    ],
    "AnsibleVault": {
        "password_file": "/absolute/path/to/password_file", // OR
        "password": "plain text password", // Not recommended
        "debug": true,
        "ansible_path": "/usr/local/bin/",
    }
}