Get and set encrypted values in vars yaml file.
Project description
ansible-vault-var - Get and set encrypted values in vars yaml file.
Features
- get encrypted value as plain text from ansible vars yaml file
- set encrypted value from plain text in ansible vars yaml file
Prerequisites
- GNU make
- python >= 3.6
- pipenv
Usage
Get variable
python3 -m ansible_vault_var --vault-password-file=vault_password.txt \
get_var --var-name=secret_ingredient --vars-file=secret_vars.yml
Set variable
python3 -m ansible_vault_var --vault-password-file=vault_password.txt \
set_var --var-name=secret_ingredient --vars-file=secret_vars.yml --new-var-value=salt
Copyright (c) 2021 by Cornelius Buschka.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ansible_vault_var-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd0a663d68fbe57248580c4727a65f5abdd01ad7208b3d511f63c89868383173 |
|
MD5 | ece90405f446a9265a30793e137bed7a |
|
BLAKE2b-256 | b3435e76d0f0f29261b9cf413eed3717f0a0a5831e0898aec72c422bea496c1d |