I recently migrated from OS specific modules to the 'package' module to
reduce the number of tasks [1].
At the time I used ansible 2.0 (and IIRC it worked but I'm not 100% sure).
Now I'm running ansible 2.2 and apparently the package module on OpenBSD
targets does not seem to use the openbsd_pkg module(?) and package
installation fails because it looks for ports to build even though build
is set to false (default) ?:
when an argument is defined as a list, it is always a list, even if you
only supply one element.
Yes, that is what I actually expect.
and that is why I do not understand that name is set to the entire list
instead of the first (and only) item of the list if I use it in a
with_items loop: