mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #6620 from cmattson/apt-docs
Clarify documentation for apt pkg, state, install_recommends
This commit is contained in:
commit
f82ac9f8e9
1 changed files with 4 additions and 4 deletions
8
library/packaging/apt
Normal file → Executable file
8
library/packaging/apt
Normal file → Executable file
|
@ -29,18 +29,18 @@ version_added: "0.0.2"
|
||||||
options:
|
options:
|
||||||
pkg:
|
pkg:
|
||||||
description:
|
description:
|
||||||
- A package name or package specifier with version, like C(foo) or C(foo=1.0). Shell like wildcards (fnmatch) like apt* are also supported.
|
- A package name, like C(foo), or package specifier with version, like C(foo=1.0). Wildcards (fnmatch) like apt* are also supported.
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: null
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Indicates the desired package state
|
- Indicates the desired package state. C(latest) ensures that the latest version is installed.
|
||||||
required: false
|
required: false
|
||||||
default: present
|
default: present
|
||||||
choices: [ "latest", "absent", "present" ]
|
choices: [ "latest", "absent", "present" ]
|
||||||
update_cache:
|
update_cache:
|
||||||
description:
|
description:
|
||||||
- Run the equivalent of C(apt-get update) before the operation. Can be run as part of the package installation or as a separate step
|
- Run the equivalent of C(apt-get update) before the operation. Can be run as part of the package installation or as a separate step.
|
||||||
required: false
|
required: false
|
||||||
default: no
|
default: no
|
||||||
choices: [ "yes", "no" ]
|
choices: [ "yes", "no" ]
|
||||||
|
@ -62,7 +62,7 @@ options:
|
||||||
default: null
|
default: null
|
||||||
install_recommends:
|
install_recommends:
|
||||||
description:
|
description:
|
||||||
- Corresponds to the C(--no-install-recommends) option for I(apt), default behavior works as apt's default behavior, C(no) does not install recommended packages. Suggested packages are never installed.
|
- Corresponds to the C(--no-install-recommends) option for I(apt). Default behavior (C(yes)) replicates apt's default behavior; C(no) does not install recommended packages. Suggested packages are never installed.
|
||||||
required: false
|
required: false
|
||||||
default: yes
|
default: yes
|
||||||
choices: [ "yes", "no" ]
|
choices: [ "yes", "no" ]
|
||||||
|
|
Loading…
Reference in a new issue