Variables for Ansible
Project description
Ansible variables
Installation
pip install ansible-variables
Usage
$ ansible-variables -h
usage: ansible-variables [-h] [--version] [-v] [-i INVENTORY] [--vault-id VAULT_IDS]
[--ask-vault-password | --vault-password-file VAULT_PASSWORD_FILES] [--playbook-dir BASEDIR] [--var VARIABLE]
host
positional arguments:
host Ansible hostname for which variable sources should be printed
optional arguments:
--ask-vault-password, --ask-vault-pass
ask for vault password
--playbook-dir BASEDIR
Since this tool does not use playbooks, use this as a substitute playbook directory. This sets the relative path for
many features including roles/ group_vars/ etc.
--var VARIABLE Only check for specific variable
--vault-id VAULT_IDS the vault identity to use
--vault-password-file VAULT_PASSWORD_FILES, --vault-pass-file VAULT_PASSWORD_FILES
vault password file
--version show program's version number, config file location, configured module search path, module location, executable
location and exit
-h, --help show this help message and exit
-i INVENTORY, --inventory INVENTORY, --inventory-file INVENTORY
specify inventory host path or comma separated host list. --inventory-file is deprecated
-v, --verbose Causes Ansible to print more debug messages. Adding multiple -v will increase the verbosity, the builtin plugins
currently evaluate up to -vvvvvv. A reasonable level to start is -vvv, connection debugging might require -vvvv.
Show variable sources for a host.
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
ansible-variables-0.3.0.tar.gz
(17.7 kB
view hashes)
Built Distribution
Close
Hashes for ansible_variables-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a037b12c6b470e6ec28e80ec9a282c483cfec69320c5bb60ffd1b10ec404ebe |
|
MD5 | d3b4631c3cfa37151f87d844b90c0e20 |
|
BLAKE2b-256 | 64380ff32e77da83058f31b0b448b0dca34fcfd1a3a6be4119ec7c6cd34caf59 |