Check from where Ansible inventory variables are comming from
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.1.tar.gz
(17.7 kB
view hashes)
Built Distribution
Close
Hashes for ansible_variables-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 655fe66a11de8f0803b10b7d1c7b4508ccfc128248b23683ab6c3a651bdb28cd |
|
MD5 | 9a7cd21ec044d5c377b618df72d66753 |
|
BLAKE2b-256 | 7f15d11aa72b30f22be275fdd3eda7fe2e2b521bb1b9594a8920a80aa92f5396 |