You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/lib/ansible/cli
Brian Coca e2f147bcec
ansible-inventory, add --limit option (#79596)
* ansible-inventory, add --limit option

* also graph

* optimize the when not providing limit

* added tests and clog

* avoid empty groups, fix tests

* i swear there as an ignore_errors there already!!?!?!?

* Fix stdout test fallback

Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>

* simpler approach using subset against inventory directly

* tyupose

* renamed funciton to what it actuall does
got yaml in line with others about removing empty groups

* have graph ignore limts, also note same for --host

* fixed typo long line

* better test

* cause hosvars are not a thing

---------

Co-authored-by: Matt Davis <6775756+nitzmahone@users.noreply.github.com>
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
1 year ago
..
arguments vault secrets file, keep context when symlink (#78734) 2 years ago
scripts Clean up unused imports in core (#79900) 1 year ago
__init__.py Add support for importlib.resources (#78915) 1 year ago
adhoc.py Add support for json in adhoc -a (#78114) 2 years ago
config.py ansible-config, only subvalues should use yaml shorthand (#79073) 2 years ago
console.py ansible-console - Fix arg name to match base class. (#78502) 2 years ago
doc.py ansible-doc and validate-modules: remove underscore deprecation handling for collections (#79362) 2 years ago
galaxy.py Add support for importlib.resources (#78915) 1 year ago
inventory.py ansible-inventory, add --limit option (#79596) 1 year ago
playbook.py Modernize install (#76021) 3 years ago
pull.py Update pull.py (#79387) 2 years ago
vault.py ansible-vault: add newline to the output of the 'encrypt_string' command (#79017) 2 years ago