Commit Graph

5 Commits (8b2bd3e5a44cddf452419c076db310a02d89fe9f)

Author SHA1 Message Date
Patrik Lundin 8b2bd3e5a4 openbsd_pkg: revert "changed" simplification.
module.exit_json() does not like when the "changed" variable contains a
match object:

TypeError: <_sre.SRE_Match object at 0x81e2ae58> is not JSON serializable
11 years ago
Patrik Lundin 30a31e8524 Simplify logic by using required=True. 11 years ago
James Cammarata 4b0b0e58a9 Refactor openbsd package upgrade change to work more like yum/apt 11 years ago
Patrik Lundin 0af146685c openbsd_pkg: add upgrade argument.
Running the module with the argument "upgrade=yes" invokes an upgrade of
all installed packages.

While here clean up some comments.

Functionality requested by @qbit.
11 years ago
Michael DeHaan b1e789968b File extensions! 11 years ago