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

Ansible Vault

by adambullmer ST3

Ansible vault manipulation in Sublime Text

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

sublime_ansible_vault

codecov

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/",
    }
}