community.general/lib/ansible/modules/extras
Robin Roth 107c257293 refactor zypper module
* refactor zypper module

Cleanup:
* remove mention of old_zypper (no longer supported)
  * requirement goes up to zypper 1.0, SLES 11.0, openSUSE 11.1
  * allows to use newer features (xml output)
  * already done for zypper_repository
* use zypper instead of rpm to get old version information, based on work by @jasonmader
* don't use rpm, zypper can do everything itself
* run zypper only twice, first to determine current state, then to apply changes

New features:
* determine change by parsing zypper xmlout
* determine failure by checking return code
* allow simulataneous installation/removal of packages (using '-' and '+' prefix)
  * allows to swap out alternatives without removing packages depending
    on them
* implement checkmode, using zypper --dry-run
* implement diffmode
* implement 'name=* state=latest' and 'name=* state=latest type=patch'
* add force parameter, handed to zypper to allow downgrade or change of vendor/architecture

Fixes/Replaces:
* fixes #1627, give changed=False on installed patches
* fixes #2094, handling URLs for packages
* fixes #1461, fixes #546, allow state=latest name='*'
* fixes #299, changed=False on second install, actually this was fixed earlier, but it is explicitly tested now
* fixes #1824, add type=application
* fixes #1256, install rpm from path, this is done by passing URLs and paths directly to zypper

* fix typo in package_update_all

* minor fixes

* remove commented code block
* bump version added to 2.2
* deal with zypper return codes 103 and 106
2016-12-08 11:34:12 -05:00
..
.github
cloud Added doc for new get_ec2_security_group_ids_from_names function in m… 2016-12-08 11:34:11 -05:00
clustering consul: add docs, fix typos, minor style fix 2016-12-08 11:34:09 -05:00
commands
database Add mongodb parameter module (#1596) 2016-12-08 11:34:09 -05:00
files Switch blockinfile to using the latest best way to get ansible version 2016-12-08 11:34:11 -05:00
messaging Fixed #237 - improved embedded JSON support handling (#1530) 2016-12-08 11:34:07 -05:00
monitoring monit startup fix 2016-12-08 11:34:11 -05:00
network Adds the __main__ conditional check (#2098) 2016-12-08 11:34:09 -05:00
notification Expect 204 status when using hipchat v2 api. 2016-12-08 11:34:11 -05:00
packaging refactor zypper module 2016-12-08 11:34:12 -05:00
source_control Fix arguments and docs (#2147) 2016-12-08 11:34:11 -05:00
system updated version added for pvs 2016-12-08 11:34:10 -05:00
web_infrastructure Jira will return a HTTP status code 201 on some actions, fx. 'comment'. (#2115) 2016-12-08 11:34:11 -05:00
windows Fix for https://github.com/ansible/ansible-modules-extras/issues/2090 2016-12-08 11:34:10 -05:00
.travis.yml
CONTRIBUTING.md
COPYING
README.md readme: add build state image from travis 2016-12-08 11:34:11 -05:00
REVIEWERS.md
VERSION
__init__.py
test-docs.sh

README.md

Build Status

ansible-modules-extras

This repo is transitional and not yet enabled. Do not send issues or pull requests here yet.

The goal is to split library/ from ansible into git submodules.

Reporting bugs

Take care to submit tickets to the appropriate repo where modules are contained. The repo is mentioned at the bottom of modlue documentation page at docs.ansible.com.

Testing modules

Ansible module development guide contains the latest info about that.

License

As with Ansible, modules distributed with Ansible are GPLv3 licensed. User generated modules not part of this project can be of any license.

Installation

There should be no need to install this repo separately as it should be included in any Ansible install using the official documented methods.