mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix module formatting in the pkgutil module.
This commit is contained in:
parent
37970112d9
commit
8dae9fa5e7
1 changed files with 8 additions and 8 deletions
|
@ -46,17 +46,17 @@ options:
|
||||||
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."
|
- "Note: The module has a limitation that (C(latest)) only works for one package, not lists of them."
|
||||||
required: true
|
required: true
|
||||||
choices: ["present", "absent", "latest"]
|
choices: ["present", "absent", "latest"]
|
||||||
|
'''
|
||||||
|
|
||||||
examples:
|
EXAMPLES = '''
|
||||||
- pkgutil: name=CSWcommon state=present
|
# Install a package
|
||||||
description: Install a package
|
pkgutil: name=CSWcommon state=present
|
||||||
- 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.
|
# Install a package from a specific repository
|
||||||
- pkgutil: name=CSWaspell state=absent
|
pkgutil: name=CSWnrpe site='ftp://myinternal.repo/opencsw/kiel state=latest'
|
||||||
description: Ensure that a package is not installed.
|
|
||||||
'''
|
'''
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue