New in version 1.4.
Add or remove Zypper repositories on SUSE and openSUSE
- zypper
parameter | required | default | choices | comments |
---|---|---|---|---|
description |
no | none | A description of the repository | |
disable_gpg_check |
no | no |
|
Whether to disable GPG signature checking of all packages. Has an effect only if state is present. |
name |
no | none | A name for the repository. Not required when adding repofiles. | |
refresh |
no | yes |
|
Enable autorefresh of the repository. |
repo |
no | none | URI of the repository or .repo file. Required when state=present. | |
state |
no | present |
|
A source string state. |
# Add NVIDIA repository for graphics drivers - zypper_repository: name=nvidia-repo repo='ftp://download.nvidia.com/opensuse/12.2' state=present # Remove NVIDIA repository - zypper_repository: name=nvidia-repo repo='ftp://download.nvidia.com/opensuse/12.2' state=absent # Add python development repository - zypper_repository: repo=http://download.opensuse.org/repositories/devel:/languages:/python/SLE_11_SP3/devel:languages:python.repo
For more information on what this means please read Extras Modules
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Helping Testing PRs and Developing Modules.