mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
[PR #6683/eff0cb0e backport][stable-7] Use semantic markup (modules r-s) (#6707)
Use semantic markup (modules r-s) (#6683)
* Use semantic markup.
* Use 'ignore:' for alias reference.
* Ignore sanity errors for older ansible-core versions.
* Improve markup for RHSM modules.
Co-authored-by: Pino Toscano <ptoscano@redhat.com>
* 'ignore:' is no longer needed.
* E() now works better.
---------
Co-authored-by: Pino Toscano <ptoscano@redhat.com>
(cherry picked from commit eff0cb0ed9
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
f4af31b76b
commit
34c4b1f367
49 changed files with 311 additions and 303 deletions
|
@ -31,14 +31,14 @@ attributes:
|
|||
options:
|
||||
name:
|
||||
description:
|
||||
- Package name, e.g. C(SUNWcsr)
|
||||
- Package name, for example V(SUNWcsr).
|
||||
required: true
|
||||
type: str
|
||||
|
||||
state:
|
||||
description:
|
||||
- Whether to install (C(present)), or remove (C(absent)) a package.
|
||||
- If the package is to be installed, then I(src) is required.
|
||||
- Whether to install (V(present)), or remove (V(absent)) a package.
|
||||
- If the package is to be installed, then O(src) is required.
|
||||
- The SVR4 package system doesn't provide an upgrade operation. You need to uninstall the old, then install the new package.
|
||||
required: true
|
||||
choices: ["present", "absent"]
|
||||
|
@ -46,13 +46,13 @@ options:
|
|||
|
||||
src:
|
||||
description:
|
||||
- Specifies the location to install the package from. Required when I(state=present).
|
||||
- "Can be any path acceptable to the C(pkgadd) command's C(-d) option. e.g.: C(somefile.pkg), C(/dir/with/pkgs), C(http:/server/mypkgs.pkg)."
|
||||
- Specifies the location to install the package from. Required when O(state=present).
|
||||
- "Can be any path acceptable to the C(pkgadd) command's C(-d) option. For example: V(somefile.pkg), V(/dir/with/pkgs), V(http:/server/mypkgs.pkg)."
|
||||
- If using a file or directory, they must already be accessible by the host. See the M(ansible.builtin.copy) module for a way to get them there.
|
||||
type: str
|
||||
proxy:
|
||||
description:
|
||||
- HTTP[s] proxy to be used if I(src) is a URL.
|
||||
- HTTP[s] proxy to be used if O(src) is a URL.
|
||||
type: str
|
||||
response_file:
|
||||
description:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue