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
10 years ago
.github Update the issue and pull-request templates in sync with ansible/ansible 10 years ago
cloud Add Maintenance Mode support for VMware (#1754) 10 years ago
clustering Merge pull request #1793 from ctooley/add_https_to_consul_lookup 10 years ago
commands Catch errors related to insufficient (old) versions of pexpect. Fixes #13660 10 years ago
database Merge pull request #1737 from Dufgui/devel 10 years ago
files Merge pull request #1873 from mscherer/fix_1849 10 years ago
messaging Do not use a default value for -n parameter, fix #1400 (#1417) 10 years ago
monitoring Mark the token as sensitive, since it shouldn't be printed (#2043) 10 years ago
network Fixes issue #1992 -- fixes issue adding and deleting pools (#1994) 10 years ago
notification Set api_key as no_log, since that's likely something that should be kept private (#2038) 10 years ago
packaging Zypper repository rewrite (#1990) 10 years ago
source_control New module for creating gitlab projects (#968) 10 years ago
system Basic ability to set masquerade options from ansible, according to current code design/layout (mostly) (#2017) 10 years ago
web_infrastructure Trick ansible-modules-validate to pass this with no RETURN. 10 years ago
windows The enable parameter is a boolean, then convert to a boolean. (#1607) 10 years ago
.gitignore Add basic top level files. 11 years ago
.travis.yml Rebase PRs against $TRAVIS_BRANCH before performing tests 10 years ago
CONTRIBUTING.md now point to local template 10 years ago
COPYING Add basic top level files. 11 years ago
README.md added installation info .. that you don't need to 11 years ago
REVIEWERS.md Add new SMEs for Zabbix 10 years ago
VERSION Version bump for new beta 2.0.0-0.5.beta3 10 years ago
__init__.py package files 11 years ago
test-docs.sh Add testing documentation to travis 11 years ago

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.