On Thu, Jun 23, 2016 at 06:44:19AM +0200, Patrik Lundin wrote: > > I will play around with this and see what I can come up with, thanks! >
For any interested parties there is now support for the pkg_add branch-syntax in the openbsd_pkg package management module in ansible upstream: https://github.com/ansible/ansible-modules-extras/blob/devel/packaging/os/openbsd_pkg.py Using the "pkg_info -Iq inst:<name>" syntax was actually a lot easier to work with than -e, so that helped me remove some additional cruft from the module as well. Thanks to espie@ for pointing out that way of using the tool. -- Patrik Lundin