mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
57 lines
1.3 KiB
JSON
57 lines
1.3 KiB
JSON
|
{
|
||
|
"requirements": [
|
||
|
"yum",
|
||
|
"rpm"
|
||
|
],
|
||
|
"description": [
|
||
|
"Will install, upgrade, remove, and list packages with the I(yum) package manager."
|
||
|
],
|
||
|
"author": "Seth Vidal",
|
||
|
"notes": [],
|
||
|
"module": "yum",
|
||
|
"filename": "library/yum",
|
||
|
"examples": [
|
||
|
{
|
||
|
"code": "yum name=httpd state=latest"
|
||
|
},
|
||
|
{
|
||
|
"code": "yum name=httpd state=removed"
|
||
|
},
|
||
|
{
|
||
|
"code": "yum name=httpd state=installed"
|
||
|
}
|
||
|
],
|
||
|
"docuri": "yum",
|
||
|
"short_description": "Manages packages with the I(yum) package manager",
|
||
|
"now_date": "2012-10-09",
|
||
|
"options": {
|
||
|
"state": {
|
||
|
"default": "present",
|
||
|
"required": false,
|
||
|
"description": [
|
||
|
"whether to install (C(present), C(latest)), or remove (C(absent)) a package."
|
||
|
],
|
||
|
"choices": [
|
||
|
"present",
|
||
|
"latest",
|
||
|
"absent"
|
||
|
]
|
||
|
},
|
||
|
"list": {
|
||
|
"default": null,
|
||
|
"required": false,
|
||
|
"description": [
|
||
|
"various non-idempotent commands for usage with C(/usr/bin/ansible) and I(not) playbooks. See examples."
|
||
|
]
|
||
|
},
|
||
|
"name": {
|
||
|
"default": null,
|
||
|
"required": true,
|
||
|
"description": [
|
||
|
"package name, or package specifier with version, like C(name-1.0)."
|
||
|
],
|
||
|
"aliases": []
|
||
|
}
|
||
|
},
|
||
|
"ansible_version": "0.8"
|
||
|
}
|