Author: | Matthias Vogelgesang |
---|
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. | |
repo | no | none | URI of the repository or .repo file. Required when state=present. | |
state | no | present |
|
A source string state. |
Note
Requires zypper
# 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