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



-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/eb9fb1ec-b033-8aa4-c296-97e688439678%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to