You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/library/packaging
Drew 44578e030d Fix proper defaulting/required of 'state' for gem module
The docs for 'gem' say state is required, but the actual code says it's not required.

If it's not included (and there's no default) then the if block falls through with no changes and no errors (it neither adds nor removes the gem).

This change synchronizes the docs with the code.  It also adds the sane default of state=present, which is consistent with all other modules with the 'state' field.
12 years ago
..
apt Remove debugging code 12 years ago
apt_key apt_key module: Case insensitive presence checking 12 years ago
apt_repository reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 12 years ago
easy_install Fixes #5381 easy_install bug when used with virtualenv 12 years ago
gem Fix proper defaulting/required of 'state' for gem module 12 years ago
homebrew Use "brew list <name>" instead of grepping the output of "brew list". 12 years ago
macports Addresses #5023 Fix import comments 12 years ago
npm Fix npm documentation typo. 12 years ago
openbsd_pkg Merge pull request #4949 from eest/openbsd_pkg-rework-name-parsing 12 years ago
opkg Addresses #5023 Fix import comments 12 years ago
pacman small change to docs 12 years ago
pip If a executable is defined but not found the module should fail. Addresses https://github.com/ansible/ansible/issues/5781. 12 years ago
pkgin Addresses #5023 Fix import comments 12 years ago
pkgng Addresses #5023 Fix import comments 12 years ago
pkgutil Fixes #5023 Convert all modules to use new snippet import pattern 12 years ago
portinstall Addresses #5023 Fix import comments 12 years ago
redhat_subscription Fixes #5023 Convert all modules to use new snippet import pattern 12 years ago
rhn_channel Fixes #5023 Convert all modules to use new snippet import pattern 12 years ago
rhn_register Fixes #5023 Convert all modules to use new snippet import pattern 12 years ago
rpm_key All modules should be using /usr/bin/python in the shebang as ansible_python_interpreter processes this (see FAQ). 12 years ago
svr4pkg Fixes #5023 Convert all modules to use new snippet import pattern 12 years ago
swdepot Addresses #5023 Fix import comments 12 years ago
urpmi Addresses #5023 Fix import comments 12 years ago
yum Adding a check for pending tranasctions to the yum module 12 years ago
zypper remove check for version string 12 years ago
zypper_repository zypper_repository: claims to support check_mode, but does not. Fixes GH-5614. 12 years ago