1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-17 13:23:12 +00:00
community.general/docs/json/apt_repository.json

47 lines
No EOL
1.6 KiB
JSON

{
"description": [
"Manages apt repositores (such as for Debian/Ubuntu)."
],
"author": "Matt Wright",
"notes": [
"This module works on Debian and Ubuntu only and requires C(apt-add-repository) be available on destination server. To ensure this package is available use the C(apt) module and install the C(python-software-properties) package before using this module.",
"A bug in C(apt-add-repository) always adds C(deb) and C(deb-src) types for repositories (see the issue on Launchpad U(https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/987264)), if a repo doesn't have source information (eg MongoDB repo from 10gen) the system will fail while updating repositories."
],
"docuri": "apt-repository",
"module": "apt_repository",
"filename": "library/apt_repository",
"examples": [
{
"code": "apt_repository repo=ppa://nginx/stable",
"description": "Add nginx stable repository from PPA"
},
{
"code": "apt_repository repo='deb http://archive.canonical.com/ubuntu hardy partner'",
"description": "Add specified repository into sources."
}
],
"version_added": "0.7",
"short_description": "Manages apt repositores",
"now_date": "2012-10-09",
"options": {
"repo": {
"default": null,
"required": true,
"description": [
"The repository name/value"
]
},
"state": {
"default": "present",
"required": false,
"description": [
"The repository state"
],
"choices": [
"present",
"absent"
]
}
},
"ansible_version": "0.8"
}