community.general/lib/ansible/modules/extras/packaging/os
Matthew Pherigo 5664da4c63 pkgng: add 'batch' parameter
Some packages attempt to prompt the user for certain settings during
installation. Thus, this parameter sets the environment variable
$BATCH to 'yes', which forces package installation scripts to accept
default values for these interactive prompts. This should work for all
prompts that have a default value and aren't implemented through a
custom script (as this variable is built into the ports/package system).

FIXME: Package install should fail if it prompts and batch isn't set;
currently, the install hangs indefinitely.
TODO: Allow user to specify the answers to certain prompts.

I (github.com/mwpher) have NOT tested this with any packages besides
bsdstats. It's a small improvement, but not a complete answer to all
the complexities of package installation.
2016-12-08 11:32:24 -05:00
..
__init__.py
dnf.py Move dnf and bower plugins to proper subdirs 2016-12-08 11:32:24 -05:00
homebrew.py
homebrew_cask.py
homebrew_tap.py
layman.py
macports.py
openbsd_pkg.py
opkg.py
pacman.py use state=latest to ensure the latest version is installed. mimics functionality of the apt and yum modules. 2016-12-08 11:32:24 -05:00
pkgin.py
pkgng.py pkgng: add 'batch' parameter 2016-12-08 11:32:24 -05:00
pkgutil.py
portage.py Add support for emerge's --getbinpkg and --usepkgoonly 2016-12-08 11:32:24 -05:00
portinstall.py
svr4pkg.py
swdepot.py
urpmi.py Make documentation of urpmi module force parameter clearer 2016-12-08 11:32:24 -05:00
zypper.py zypper: Fix gpg check option for state=latest. --no-gpg-checks is used in new and old zypper versions 2016-12-08 11:32:22 -05:00
zypper_repository.py Fix documentation in zypper_repository 2016-12-08 11:32:23 -05:00