summaryrefslogtreecommitdiffstats
path: root/changelogs
diff options
context:
space:
mode:
authorBrian Coca <bcoca@users.noreply.github.com>2023-02-13 18:07:10 +0100
committerGitHub <noreply@github.com>2023-02-13 18:07:10 +0100
commite2f147bcec8d5e44f2aa4f73d86f9959e6eb8f2e (patch)
tree0d862f136f10022de745bb6ff50ed8ef51006038 /changelogs
parentansible-test - Clean up indentation and spaces (#79980) (diff)
downloadansible-e2f147bcec8d5e44f2aa4f73d86f9959e6eb8f2e.tar.xz
ansible-e2f147bcec8d5e44f2aa4f73d86f9959e6eb8f2e.zip
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>
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/fragments/ainv_limit.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/ainv_limit.yml b/changelogs/fragments/ainv_limit.yml
new file mode 100644
index 0000000000..feb27fcfaf
--- /dev/null
+++ b/changelogs/fragments/ainv_limit.yml
@@ -0,0 +1,2 @@
+minor_changes:
+ - ansible-inventory now supports the limit command line options.