add simple prefix filtering to vmware inventory

Significantly speeds up inventory collection on systems with many
excluded machines.
This commit is contained in:
Tom Paine
2015-06-17 18:41:54 +01:00
parent 0c27315648
commit 410285ecd6
2 changed files with 13 additions and 1 deletions

View File

@@ -23,6 +23,10 @@ guests_only = True
# caching will be disabled.
#cache_dir = ~/.cache/ansible
# Specify a prefix filter. Any VMs with names beginning with this string will
# not be returned.
# prefix_filter = test_
[auth]
# Specify hostname or IP address of vCenter/ESXi server. A port may be