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.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a26cfb33b305c2c9d55192ca7dbd128fe7b35abe74c5fcd62175f1aa695c06f3 |
|
MD5 | baeade92ec1ab5aa7e75178247393a65 |
|
BLAKE2b-256 | 0af6f6829444f30ea73bbf69bc5450e2da9176af13eea2b832cbf3c09bd88230 |