No description
Find a file
Robin Roth e8fdba7593 Zypper repository rewrite (#1990)
* Remove support for ancient zypper versions

Even SLES11 has zypper 1.x.

* zypper_repository: don't silently ignore repo changes

So far when a repo URL changes this got silently ignored (leading to
incorrect package installations) due to this code:

    elif 'already exists. Please use another alias' in stderr:
        changed = False

Removing this reveals that we correctly detect that a repo definition
has changes (via repo_subset) but don't indicate this as change but as a
nonexistent repo. This makes us currenlty bail out silently in the above
statement.

To fix this distinguish between non existent and modified repos and
remove the repo first in case of modifications (since there is no force
option in zypper to overwrite it and 'zypper mr' uses different
arguments).

To do this we have to identify a repo by name, alias or url.

* Don't fail on empty values

This unbreaks deleting repositories

* refactor zypper_repository module

* add properties enabled and priority
* allow changing of one property and correctly report changed
* allow overwrite of multiple repositories by alias and URL
* cleanup of unused code and more structuring

* respect enabled option

* make zypper_repository conform to python2.4

* allow repo deletion only by alias

* check for non-existant url field and use alias instead

* remove empty notes and aliases

* add version_added for priority and overwrite_multiple

* add version requirement on zypper and distribution

* zypper 1.0 is enough and exists

* make suse versions note, not requirement

based on comment by @alxgu
2016-04-18 17:47:17 +02:00
.github Update the issue and pull-request templates in sync with ansible/ansible 2016-03-23 15:56:25 +01:00
cloud Add Maintenance Mode support for VMware (#1754) 2016-04-17 10:42:31 +02:00
clustering Merge pull request #1793 from ctooley/add_https_to_consul_lookup 2016-03-23 21:15:37 +01:00
commands Catch errors related to insufficient (old) versions of pexpect. Fixes #13660 2016-03-08 21:03:05 -06:00
database Merge pull request #1737 from Dufgui/devel 2016-04-01 00:24:22 +02:00
files Merge pull request #1873 from mscherer/fix_1849 2016-03-19 13:09:43 -07:00
messaging Do not use a default value for -n parameter, fix #1400 (#1417) 2016-04-14 23:44:28 +02:00
monitoring Mark the token as sensitive, since it shouldn't be printed (#2043) 2016-04-18 11:19:14 -04:00
network Fixes issue #1992 -- fixes issue adding and deleting pools (#1994) 2016-04-11 19:57:55 +02:00
notification Set api_key as no_log, since that's likely something that should be kept private (#2038) 2016-04-15 09:45:37 -04:00
packaging Zypper repository rewrite (#1990) 2016-04-18 17:47:17 +02:00
source_control New module for creating gitlab projects (#968) 2016-04-12 19:20:45 +02:00
system Basic ability to set masquerade options from ansible, according to current code design/layout (mostly) (#2017) 2016-04-16 14:15:00 +02:00
web_infrastructure Trick ansible-modules-validate to pass this with no RETURN. 2016-01-12 11:25:56 -08:00
windows The enable parameter is a boolean, then convert to a boolean. (#1607) 2016-04-12 14:07:32 +02:00
.gitignore Add basic top level files. 2014-09-26 09:21:20 -04:00
.travis.yml Rebase PRs against $TRAVIS_BRANCH before performing tests 2016-04-01 13:50:22 -05:00
__init__.py package files 2014-09-26 11:04:10 -04:00
CONTRIBUTING.md now point to local template 2016-02-18 09:28:21 -08:00
COPYING Add basic top level files. 2014-09-26 09:21:20 -04:00
README.md added installation info .. that you don't need to 2015-03-10 10:36:00 -04:00
REVIEWERS.md Add new SMEs for Zabbix 2015-11-03 15:48:58 -05:00
test-docs.sh Add testing documentation to travis 2015-06-29 13:09:58 -07:00
VERSION Version bump for new beta 2.0.0-0.5.beta3 2015-11-13 16:47:22 -05:00

ansible-modules-extras

This repo contains a subset of ansible-modules with slightly lower use or priority than "core" modules.

All new modules should be submitted here, and have a chance to be promoted to core over time.

Reporting bugs

Take care to submit tickets to the appropriate repo where modules are contained. The repo is mentioned at the bottom of module 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.