corrected version added

This commit is contained in:
Brian Coca 2015-02-03 22:31:46 -05:00
parent 9722203ee0
commit dd681321b3

View file

@ -34,7 +34,7 @@ except:
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: dnf module: dnf
version_added: historical version_added: 1.9
short_description: Manages packages with the I(dnf) package manager short_description: Manages packages with the I(dnf) package manager
description: description:
- Installs, upgrade, removes, and lists packages and groups with the I(dnf) package manager. - Installs, upgrade, removes, and lists packages and groups with the I(dnf) package manager.
@ -43,21 +43,18 @@ options:
description: description:
- "Package name, or package specifier with version, like C(name-1.0). When using state=latest, this can be '*' which means run: dnf -y update. You can also pass a url or a local path to a rpm file." - "Package name, or package specifier with version, like C(name-1.0). When using state=latest, this can be '*' which means run: dnf -y update. You can also pass a url or a local path to a rpm file."
required: true required: true
version_added: "1.8"
default: null default: null
aliases: [] aliases: []
list: list:
description: description:
- Various (non-idempotent) commands for usage with C(/usr/bin/ansible) and I(not) playbooks. See examples. - Various (non-idempotent) commands for usage with C(/usr/bin/ansible) and I(not) playbooks. See examples.
required: false required: false
version_added: "1.8"
default: null default: null
state: state:
description: description:
- Whether to install (C(present), C(latest)), or remove (C(absent)) a package. - Whether to install (C(present), C(latest)), or remove (C(absent)) a package.
required: false required: false
choices: [ "present", "latest", "absent" ] choices: [ "present", "latest", "absent" ]
version_added: "1.8"
default: "present" default: "present"
enablerepo: enablerepo:
description: description:
@ -65,17 +62,15 @@ options:
These repos will not persist beyond the transaction. These repos will not persist beyond the transaction.
When specifying multiple repos, separate them with a ",". When specifying multiple repos, separate them with a ",".
required: false required: false
version_added: "1.8"
default: null default: null
aliases: [] aliases: []
disablerepo: disablerepo:
description: description:
- I(Repoid) of repositories to disable for the install/update operation. - I(Repoid) of repositories to disable for the install/update operation.
These repos will not persist beyond the transaction. These repos will not persist beyond the transaction.
When specifying multiple repos, separate them with a ",". When specifying multiple repos, separate them with a ",".
required: false required: false
version_added: "1.8"
default: null default: null
aliases: [] aliases: []
@ -83,7 +78,6 @@ options:
description: description:
- The remote dnf configuration file to use for the transaction. - The remote dnf configuration file to use for the transaction.
required: false required: false
version_added: "1.8"
default: null default: null
aliases: [] aliases: []
@ -92,7 +86,6 @@ options:
- Whether to disable the GPG checking of signatures of packages being - Whether to disable the GPG checking of signatures of packages being
installed. Has an effect only if state is I(present) or I(latest). installed. Has an effect only if state is I(present) or I(latest).
required: false required: false
version_added: "1.8"
default: "no" default: "no"
choices: ["yes", "no"] choices: ["yes", "no"]
aliases: [] aliases: []