mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Minor doc fixes for the pkgutil module
This commit is contained in:
parent
59c7ef2afa
commit
ae98a025bb
1 changed files with 6 additions and 7 deletions
|
@ -31,7 +31,7 @@ description:
|
||||||
as a legacy feature in Solaris 11.
|
as a legacy feature in Solaris 11.
|
||||||
- Pkgutil is an advanced packaging system, which resolves dependency on installation.
|
- Pkgutil is an advanced packaging system, which resolves dependency on installation.
|
||||||
It is designed for CSW packages.
|
It is designed for CSW packages.
|
||||||
version_added: "1.2"
|
version_added: "1.3"
|
||||||
author: Alexander Winkler
|
author: Alexander Winkler
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
|
@ -41,22 +41,21 @@ options:
|
||||||
site:
|
site:
|
||||||
description:
|
description:
|
||||||
- Specifies the repository path to install the package from.
|
- Specifies the repository path to install the package from.
|
||||||
- It's global definition is done in C(/etc/opt/csw/pkgutil.conf)).
|
- Its global definition is done in C(/etc/opt/csw/pkgutil.conf).
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Whether to install (C(present)), or remove (C(absent)) a package.
|
- Whether to install (C(present)), or remove (C(absent)) a package.
|
||||||
- The upgrade (C(latest)) operation will update/install the package to the latest version available.
|
- The upgrade (C(latest)) operation will update/install the package to the latest version available.
|
||||||
- Beware: (C(latest)) only works for one package.
|
- "Beware: (C(latest)) only works for one package."
|
||||||
required: true
|
required: true
|
||||||
choices: ["present", "absent", "latest"]
|
choices: ["present", "absent", "latest"]
|
||||||
|
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- code: pkgutil name=CSWcommon state=present
|
- pkgutil: name=CSWcommon state=present
|
||||||
description: Install a package
|
description: Install a package
|
||||||
- code: 'pkgutil name=CSWnrpe site=ftp://myinternal.repo/opencsw/kiel state=latest'
|
- pkgutil: 'name=CSWnrpe site=ftp://myinternal.repo/opencsw/kiel state=latest'
|
||||||
description: If a package is not installed or not installed in the latest version, it will be installed with the newest version from a specified repository.
|
description: If a package is not installed or not installed in the latest version, it will be installed with the newest version from a specified repository.
|
||||||
- code: pkgutil name=CSWaspell state=absent
|
- pkgutil: name=CSWaspell state=absent
|
||||||
description: Ensure that a package is not installed.
|
description: Ensure that a package is not installed.
|
||||||
'''
|
'''
|
||||||
import os
|
import os
|
||||||
|
|
Loading…
Reference in a new issue