Hi,
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) ?:
"failed": true,
"invocation": {
"module_args": {
"build": false,
"name": "['tor']",
"ports_dir": "/usr/ports",
"state": "present"
}
},
"item": [
"tor"
],
"msg": "Can't find [tor]\n"
Doesn't the 'package' module use openbsd_pkg on OpenBSD targets?
(installing the tor package with the openbsd_pkg works fine)
Have there been any major changes in the package module between ansible
2.0 and 2.2?
thanks,
nusenu
https://github.com/nusenu/ansible-relayor/issues/85
[1]
https://github.com/nusenu/ansible-relayor/commit/550d656a2c5ec8f2b588b32d9cf256aab2743bb7