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.
 
 
 
 
 
Go to 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
9 years ago
.github
cloud Add Maintenance Mode support for VMware (#1754) 9 years ago
clustering
commands
database Merge pull request #1737 from Dufgui/devel 9 years ago
files
messaging Do not use a default value for -n parameter, fix #1400 (#1417) 9 years ago
monitoring Mark the token as sensitive, since it shouldn't be printed (#2043) 9 years ago
network Fixes issue #1992 -- fixes issue adding and deleting pools (#1994) 9 years ago
notification Set api_key as no_log, since that's likely something that should be kept private (#2038) 9 years ago
packaging Zypper repository rewrite (#1990) 9 years ago
source_control New module for creating gitlab projects (#968) 9 years ago
system Basic ability to set masquerade options from ansible, according to current code design/layout (mostly) (#2017) 9 years ago
web_infrastructure
windows The enable parameter is a boolean, then convert to a boolean. (#1607) 9 years ago
.gitignore
.travis.yml Rebase PRs against $TRAVIS_BRANCH before performing tests 9 years ago
CONTRIBUTING.md
COPYING
README.md
REVIEWERS.md
VERSION
__init__.py
test-docs.sh

README.md

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.