runejuhl.simplevault.vault (0.0.1) — filter

Vault your secrets using default Vault password

| "added in version" 2.12 of runejuhl.simplevault"

Authors: Rune Juhl

Install collection

Install with ansible-galaxy collection install runejuhl.simplevault:==0.0.1


Add to requirements.yml

  collections:
    - name: runejuhl.simplevault
      version: 0.0.1

Description

Put your information into an encrypted Ansible Vault using default Vault password.

Inputs

    
_input:
    description: Data to vault.
    required: true
    type: string

wrap_object:
    default: false
    description:
    - This toggle can force the return of an C(AnsibleVaultEncryptedUnicode) string object,
      when C(False), you get a simple string.
    - Mostly useful when combining with the C(to_yaml) filter to output the 'inline vault'
      format.
    type: bool

Outputs

_value:
  description: The vault string that contains the secret data (or C(AnsibleVaultEncryptedUnicode)
    string object).
  type: string