| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Pass pyflakes
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Adds xbps module for managing Void Linux packages.
Currently supports:
* Installation
* Removal
* Updating Specific Packages
* Updating All Packages
* Updating package cache
|
|
|
|
|
| |
This whole module is really lacking in security guidelines, but
downloading RPMs via plain `http://` without gpg is quite bad. Let's
use `https://` for the EPEL examples for a start.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix kibana
* More native YAML
* More native YAML
* More native YAML
* More native YAML. Now only languages/ is missing
* Use native yaml sintax for packaging/languages as well
* Some more and quote fixes
* Fix wrong grouping
|
|
|
|
| |
with_items. (#3556)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* packaging/os/portage.py: Added portage parameter --keep-going
* packaging/os/portage.py: Added portage parameter --load-avg [FLOAT]
* packaging/os/portage.py: Added portage parameter --jobs[=INT]
* packaging/os/portage.py: Added myself to Authors
|
| |
|
|
|
|
|
|
|
|
| |
Both the `homebrew` and `homebrew_cask` modules iterate over
dictionaries using `iteritems`. This is a Python 2-specific method whose
behavior is similar to `items` in Python 3+. The `iteritems` function in
the six library was designed to make it possible to use the correct
method.
|
| |
|
|
|
|
|
|
|
| |
Previous fix to group install introduced a different bug trying to
strip() group names at the wrong level. This patch fixes that.
Fixes #3358
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In dnf, environment groups are separate from groups. Need to handle
them separately when calling the API.
Fixes #2178
After upstream review, hande dnf-2.0 mandatory packages in groups
If mandatory packages in a group are not installed, a group will report
failure. Fix this by catching the error and reporting after trying
to install the other packages and groups in the transaction.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* dnf: fix compatibility with DNF 2.0
* Reimplement (copy) old dnf.cli.commands.parse_spec_group_file(),
upstream uses argparse since 2.0.
* add_remote_rpm() has been changed to the add_remote_rpms()
Closes: https://github.com/ansible/ansible-modules-extras/issues/3310
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
* fixup! dnf: fix compatibility with DNF 2.0
|
|
|
|
| |
* Fix for python-2.6 compat
|
|
|
|
| |
Fixes #14427
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fail with:
Traceback (most recent call last):
File \"/tmp/ansible_2rsl4fg1/ansible_module_pkgng.py\", line 353, in <module>
main()
File \"/tmp/ansible_2rsl4fg1/ansible_module_pkgng.py\", line 330, in main
_changed, _msg = install_packages(module, pkgng_path, pkgs, p[\"cached\"], p[\"pkgsite\"], dir_arg)
File \"/tmp/ansible_2rsl4fg1/ansible_module_pkgng.py\", line 161, in install_packages
old_pkgng = pkgng_older_than(module, pkgng_path, [1, 1, 4])
File \"/tmp/ansible_2rsl4fg1/ansible_module_pkgng.py\", line 121, in pkgng_older_than
while compare_version[i] == version[i]:
TypeError: 'map' object is not subscriptable
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* openbsd_pkg: Use correct part of name in match.
Previously this part of the code could assume that the name was a stem
with nothing else attached (like "autoconf"). With the introduction of the
branch syntax ("autoconf%2.13") this is no longer true.
Check if the package name was identified as using a "branch" style name,
and base the match on the leading part of the name if that is the case.
While here remove unnecessary "pass" and tidy up debug log message.
Problem reported by @jasperla.
* openbsd_pkg: Add missing "." in comment.
|
|
|
| |
Fixes #3086.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* zypper_repository add auto_import_keys options
* also give more output on failure (rc, stdout, stderr)
* be more specific in the doc for auto_import_keys
* add runrefresh option to zypper_repository
* this comes out of ansible/ansible-modules-extras#2411, where AnderEnder adds refresh to the zypper module
* adds a way to force zypper to refresh a repository
* can be used to refresh independently of auto_import_keys
* add option to run name=* runrefresh=yes
* name runrefresh to not break existing use to refresh (now alias to autorefresh)
* add version_added flag to autorefresh
* remove wrong version_added comment
|
|
|
| |
fixes #2827
|
|
|
|
|
|
|
|
|
|
|
| |
* apk: Fix mutual exclusivity
Ensure that 'name' and 'upgrade' are mutually exclusive.
Also add a note to the documentation to say so.
Fixes: #2767
* Fix documentation
|
|
|
|
|
|
|
|
|
|
| |
Changes:
- Document missing 'path' option and remove redundant brew_path manipulation
- Add 'update_homebrew' option since 'brew cask update' as a synonym for
'brew update' is available nowadays
- Add additional missing aliases documentation
- Port additional improvements (expanded support for brews path, cask path
patterns etc.)
- Allow proper `list` type support for 'name' option.
|
|
|
|
|
|
|
|
| |
This allows doing 'brew tap <url>' where the URL is not assumed to be on GitHub,
and the protocol doesn't have to be HTTP. Any location and protocol that git can
handle is fine.
While at it, allow proper `list` type support for 'name' option and update
module documentation for option aliases.
|
|
|
|
|
|
|
|
|
| |
* fixes #2158
* handles version-specifiers (>,<,>=,<=,=) correctly
* adds option "oldpackage", which is passed to zypper
* this is implied as soon as a version is specified
* it can be used independently to allow downgrades coming from repos
* add __main__ check
* extend documentation on version specifier
|
| |
|
| |
|
| |
|
|
|
| |
Fixes: #2389
|
| |
|
| |
|
|
|
|
| |
homebrew.py and homebrew_cask.py make use of python
2.5 and 2.6 features like string .format() method.
|
|
|
|
|
|
|
|
|
|
| |
* zypper cleanup checks for failure/diff
* move check for changed/failed from functions back to main
* handle all cases identially
* generate diff together
* fix module name
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* added zypper refresh support
* removed trailing symbols
* added forced zypper refresh support similar to update_cache for apt module
* removed unnecessary blocks and cleaned up the logic for refresh
* added update_cache as alias for refresh to be similar to apt/yum module
* update zypper module according to comments
|
|
|
|
|
|
| |
* priority needs zypper version >= 1.12.25
* gpgcheck needs zypper version >= 1.6.2
* output warnings if version not sufficient for option
* fixes #2548
|
|
|
|
| |
It turns out it's possible to set up a publisher with no URIs. Handle
this gracefully.
|
|
|
|
|
|
| |
2.1 introduces overwrite_multiple, which can overwrite more than one
exisiting repo (with matching alias or URL). Allow more than 2 repos to
be overwritten, since openSuSE allow more than one repo with the same
URL if the alias is different.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|