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.
Metadata
Release files for ansible-vault-var 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ansible-vault-var-1.0.1.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ansible_vault_var-1.0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 11.0 kB
Release files / ansible-vault-var-1.0.1.tar.gz
| Download URL | ansible-vault-var-1.0.1.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cffb7feb6a5c417d26b7476cc4fd191b55788e30a1a0064f6e44f8786eb29cbe
|
|
BLAKE2b-256 checksum How to use checksums |
0951f12b60111c8760a818b4a8f8b86d54ac1853c68aee3a13dd877a6e358416
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
|
Release files / ansible_vault_var-1.0.1-py2.py3-none-any.whl
| Download URL | ansible_vault_var-1.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a26cfb33b305c2c9d55192ca7dbd128fe7b35abe74c5fcd62175f1aa695c06f3
|
|
BLAKE2b-256 checksum How to use checksums |
0af6f6829444f30ea73bbf69bc5450e2da9176af13eea2b832cbf3c09bd88230
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
|