ansible/lib/ansible
Patrik Lundin 896dec44a6 openbsd_pkg: Use correct part of name in match. (#3151)
* openbsd_pkg: Use correct part of name in match.

Previously this part of the code could assume that the name was a stem
with nothing else attached (like "autoconf"). With the introduction of the
branch syntax ("autoconf%2.13") this is no longer true.

Check if the package name was identified as using a "branch" style name,
and base the match on the leading part of the name if that is the case.

While here remove unnecessary "pass" and tidy up debug log message.

Problem reported by @jasperla.

* openbsd_pkg: Add missing "." in comment.
2016-12-08 11:34:58 -05:00
..
cli
compat
config
errors
executor
galaxy
inventory
module_utils
modules openbsd_pkg: Use correct part of name in match. (#3151) 2016-12-08 11:34:58 -05:00
parsing
playbook
plugins
template
utils
vars
__init__.py
constants.py
release.py
test-requirements.txt