Atom package to create and modify ansible-vault file
Clone or download
Latest commit 69af159 Nov 21, 2018

README.md

Atom ansible-vault package

Build Status Installs! Version! License Buy me a coffee

Atom Package to decrypt and encrypt ansible-vault file.

Press ctrl-alt-0 to encrypt and decrypt file.

NOTE: On the first installation, package searches ansible-vault binary in /usr/local/bin/ansible-vault. If it isn't in that directory, it's necessary to set absolute path in settings tab.

Dependencies

  • ansible (in specific ansible-vault)

Available settings

Screeshot settings

  • ansible-vault binary path:

    The absolute path of ansible-vault binary.
    
    Default: /usr/local/bin/ansible-vault (pip installation - ubuntu)
    
    Es: (fedora): /usr/bin/ansible-vault
    
  • Enable automatic de- and encrypt:

    This option enables automatic de/encryt on opening of vault files
    
  • Use vault password file defined in ansible.cfg project:

    If there's ansible.cfg file in opened project, with this option package use it to define vault password file path.
    
    Es: (ansible.cfg)
    [defaults]
    vault_password_file=pass.txt
    
  • Use specific vault password file (NB: ignored if there is an ansible.cfg):

    This option enables the package to use a specific vault password file
    for any de/encrytion actions.
    

    NB: if there is an ansible.cfg, ansible-vault (>= 2.4) ignore --vault-password-file option.

  • Vault password file path:

    The absolute path of vault password file. It is used when previous flag is checked.
    

NOTE: to use vault password file, you must set ansible-vault binary path.

Screenshot

Screeshot password

Screeshot encryption ok

Contributors

Kyle Williams @kyle-williams-1