Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve inventory target name resolution performance
When resolving a large number of targets from a plan the match_wildcard? regex is compiled on the fly possibly hundreds or thousands (for a large inventory) of times per target name resolution. Switching to File.fnmatch provides a significant speed increase and seems to more accurately reflect the functionality stated in the Bolt documentation with regards to target matching.
- Loading branch information