1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Reduce ignored packaging sanity tests (#568)

* Remove all packaging sanity tests to see errors

* fix

* Fix

* Minor fixes

* Fix

* Fix redhat

* Fix redhat_subscription

* Fix redhat_subscription

* Fix redhat_subscription

* Ignore redhat_subscription return-syntax-error

* Remove more ignored sanity tests

* Remove force from xbps argument_spec as it doesn't do anything(?)

* Remove unnecessary sanity test for xbps

* Fix suggestions made by felixfontein

* Better changelog description, fix portage wrong default values

* Fix

* Fix

* Remove root default from urpmi doc

* Fix wrong type of default for booleans

* Add default value as suggested by felixfontein

* Fix changelog
This commit is contained in:
Amin Vakil 2020-06-26 17:47:11 +04:30 committed by GitHub
parent 99b7573dfb
commit 72ca27a6ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 259 additions and 246 deletions

View file

@ -0,0 +1,2 @@
deprecated_features:
- xbps - the ``force`` option never had any effect. It is now deprecated, and will be removed in 3.0.0 (https://github.com/ansible-collections/community.general/pull/568).

View file

@ -24,7 +24,7 @@ options:
- During upgrade, reset versioned world dependencies and change logic to prefer replacing or downgrading packages (instead of holding them) - During upgrade, reset versioned world dependencies and change logic to prefer replacing or downgrading packages (instead of holding them)
if the currently installed package is no longer available from any repository. if the currently installed package is no longer available from any repository.
type: bool type: bool
default: 'no' default: no
name: name:
description: description:
- A package name, like C(foo), or multiple packages, like C(foo, bar). - A package name, like C(foo), or multiple packages, like C(foo, bar).
@ -34,12 +34,14 @@ options:
description: description:
- Do not use any local cache path. - Do not use any local cache path.
type: bool type: bool
default: 'no' default: no
version_added: 1.0.0 version_added: 1.0.0
repository: repository:
description: description:
- A package repository or multiple repositories. - A package repository or multiple repositories.
Unlike with the underlying apk command, this list will override the system repositories rather than supplement them. Unlike with the underlying apk command, this list will override the system repositories rather than supplement them.
type: list
elements: str
state: state:
description: description:
- Indicates the desired package(s) state. - Indicates the desired package(s) state.
@ -48,16 +50,17 @@ options:
- C(latest) ensures the package(s) is/are present and the latest version(s). - C(latest) ensures the package(s) is/are present and the latest version(s).
default: present default: present
choices: [ "present", "absent", "latest" ] choices: [ "present", "absent", "latest" ]
type: str
update_cache: update_cache:
description: description:
- Update repository indexes. Can be run with other steps or on it's own. - Update repository indexes. Can be run with other steps or on it's own.
type: bool type: bool
default: 'no' default: no
upgrade: upgrade:
description: description:
- Upgrade all installed packages to their latest version. - Upgrade all installed packages to their latest version.
type: bool type: bool
default: 'no' default: no
notes: notes:
- '"name" and "upgrade" are mutually exclusive.' - '"name" and "upgrade" are mutually exclusive.'
- When used with a `loop:` each package will be processed individually, it is much more efficient to pass the list directly to the `name` option. - When used with a `loop:` each package will be processed individually, it is much more efficient to pass the list directly to the `name` option.
@ -306,7 +309,7 @@ def main():
state=dict(default='present', choices=['present', 'installed', 'absent', 'removed', 'latest']), state=dict(default='present', choices=['present', 'installed', 'absent', 'removed', 'latest']),
name=dict(type='list', elements='str'), name=dict(type='list', elements='str'),
no_cache=dict(default=False, type='bool'), no_cache=dict(default=False, type='bool'),
repository=dict(type='list'), repository=dict(type='list', elements='str'),
update_cache=dict(default=False, type='bool'), update_cache=dict(default=False, type='bool'),
upgrade=dict(default=False, type='bool'), upgrade=dict(default=False, type='bool'),
available=dict(default=False, type='bool'), available=dict(default=False, type='bool'),

View file

@ -23,22 +23,24 @@ options:
description: description:
- Name of the repository to add or remove. - Name of the repository to add or remove.
required: true required: true
type: str
state: state:
description: description:
- Indicates the desired repository state. - Indicates the desired repository state.
choices: [ absent, present ] choices: [ absent, present ]
default: present default: present
type: str
remove_others: remove_others:
description: description:
- Remove other then added repositories - Remove other then added repositories
- Used if I(state=present) - Used if I(state=present)
type: bool type: bool
default: 'no' default: no
update: update:
description: description:
- Update the package database after changing repositories. - Update the package database after changing repositories.
type: bool type: bool
default: 'no' default: no
author: author:
- Mikhail Gordeev (@obirvalger) - Mikhail Gordeev (@obirvalger)
''' '''

View file

@ -29,11 +29,13 @@ options:
- Indicates the desired package state. - Indicates the desired package state.
choices: [ absent, present ] choices: [ absent, present ]
default: present default: present
type: str
update_cache: update_cache:
description: description:
- update the package database first C(apt-get update). - update the package database first C(apt-get update).
aliases: [ 'update-cache' ]
type: bool type: bool
default: 'no' default: no
author: author:
- Evgenii Terechkov (@evgkrsk) - Evgenii Terechkov (@evgkrsk)
''' '''
@ -154,7 +156,7 @@ def install_packages(module, pkgspec):
def main(): def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
state=dict(type='str', default='installed', choices=['absent', 'installed', 'present', 'removed']), state=dict(type='str', default='present', choices=['absent', 'installed', 'present', 'removed']),
update_cache=dict(type='bool', default=False, aliases=['update-cache']), update_cache=dict(type='bool', default=False, aliases=['update-cache']),
package=dict(type='list', elements='str', required=True, aliases=['name', 'pkg']), package=dict(type='list', elements='str', required=True, aliases=['name', 'pkg']),
), ),

View file

@ -50,13 +50,13 @@ options:
description: description:
- update homebrew itself first. - update homebrew itself first.
type: bool type: bool
default: 'no' default: no
aliases: ['update-brew'] aliases: ['update-brew']
upgrade_all: upgrade_all:
description: description:
- upgrade all homebrew packages. - upgrade all homebrew packages.
type: bool type: bool
default: 'no' default: no
aliases: ['upgrade'] aliases: ['upgrade']
install_options: install_options:
description: description:

View file

@ -26,6 +26,7 @@ options:
- One or more packages to install or remove. - One or more packages to install or remove.
- Use C(all) to install all packages available on informed C(repository_path). - Use C(all) to install all packages available on informed C(repository_path).
type: list type: list
elements: str
required: true required: true
aliases: [ pkg ] aliases: [ pkg ]
repository_path: repository_path:
@ -257,7 +258,7 @@ def install(module, installp_cmd, packages, repository_path, accept_license):
def main(): def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
name=dict(type='list', required=True, aliases=['pkg']), name=dict(type='list', elements='str', required=True, aliases=['pkg']),
repository_path=dict(type='path'), repository_path=dict(type='path'),
accept_license=dict(type='bool', default=False), accept_license=dict(type='bool', default=False),
state=dict(type='str', default='present', choices=['absent', 'present']), state=dict(type='str', default='present', choices=['absent', 'present']),

View file

@ -26,23 +26,27 @@ options:
- The overlay id to install, synchronize, or uninstall. - The overlay id to install, synchronize, or uninstall.
Use 'ALL' to sync all of the installed overlays (can be used only when C(state=updated)). Use 'ALL' to sync all of the installed overlays (can be used only when C(state=updated)).
required: true required: true
type: str
list_url: list_url:
description: description:
- An URL of the alternative overlays list that defines the overlay to install. - An URL of the alternative overlays list that defines the overlay to install.
This list will be fetched and saved under C(${overlay_defs})/${name}.xml), where This list will be fetched and saved under C(${overlay_defs})/${name}.xml), where
C(overlay_defs) is readed from the Layman's configuration. C(overlay_defs) is readed from the Layman's configuration.
aliases: [url]
type: str
state: state:
description: description:
- Whether to install (C(present)), sync (C(updated)), or uninstall (C(absent)) the overlay. - Whether to install (C(present)), sync (C(updated)), or uninstall (C(absent)) the overlay.
default: present default: present
choices: [present, absent, updated] choices: [present, absent, updated]
type: str
validate_certs: validate_certs:
description: description:
- If C(no), SSL certificates will not be validated. This should only be - If C(no), SSL certificates will not be validated. This should only be
set to C(no) when no other option exists. Prior to 1.9.3 the code set to C(no) when no other option exists. Prior to 1.9.3 the code
defaulted to C(no). defaulted to C(no).
type: bool type: bool
default: 'yes' default: yes
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -37,6 +37,7 @@ options:
- Indicates the desired state of the port. - Indicates the desired state of the port.
choices: [ 'present', 'absent', 'active', 'inactive' ] choices: [ 'present', 'absent', 'active', 'inactive' ]
default: present default: present
type: str
upgrade: upgrade:
description: description:
- Upgrade all outdated ports, either prior to installing ports or as a separate step. - Upgrade all outdated ports, either prior to installing ports or as a separate step.
@ -48,6 +49,7 @@ options:
- A port variant specification. - A port variant specification.
- 'C(variant) is only supported with state: I(installed)/I(present).' - 'C(variant) is only supported with state: I(installed)/I(present).'
aliases: ['variants'] aliases: ['variants']
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: Install the foo port - name: Install the foo port

View file

@ -24,6 +24,8 @@ options:
description: description:
- A name or a list of names of the packages. - A name or a list of names of the packages.
required: yes required: yes
type: list
elements: str
state: state:
description: description:
- C(present) will make sure the package is installed. - C(present) will make sure the package is installed.
@ -31,6 +33,7 @@ options:
C(absent) will make sure the specified package is not installed. C(absent) will make sure the specified package is not installed.
choices: [ absent, latest, present ] choices: [ absent, latest, present ]
default: present default: present
type: str
build: build:
description: description:
- Build the package from source instead of downloading and installing - Build the package from source instead of downloading and installing
@ -38,25 +41,26 @@ options:
Automatically builds and installs the 'sqlports' package, if it is Automatically builds and installs the 'sqlports' package, if it is
not already installed. not already installed.
type: bool type: bool
default: 'no' default: no
ports_dir: ports_dir:
description: description:
- When used in combination with the C(build) option, allows overriding - When used in combination with the C(build) option, allows overriding
the default ports source directory. the default ports source directory.
default: /usr/ports default: /usr/ports
type: path
clean: clean:
description: description:
- When updating or removing packages, delete the extra configuration - When updating or removing packages, delete the extra configuration
file(s) in the old packages which are annotated with @extra in file(s) in the old packages which are annotated with @extra in
the packaging-list. the packaging-list.
type: bool type: bool
default: 'no' default: no
quick: quick:
description: description:
- Replace or delete packages quickly; do not bother with checksums - Replace or delete packages quickly; do not bother with checksums
before removing normal files. before removing normal files.
type: bool type: bool
default: 'no' default: no
notes: notes:
- When used with a `loop:` each package will be processed individually, - When used with a `loop:` each package will be processed individually,
it is much more efficient to pass the list directly to the `name` option. it is much more efficient to pass the list directly to the `name` option.
@ -513,7 +517,7 @@ def upgrade_packages(pkg_spec, module):
def main(): def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
name=dict(type='list', required=True), name=dict(type='list', elements='str', required=True),
state=dict(type='str', default='present', choices=['absent', 'installed', 'latest', 'present', 'removed']), state=dict(type='str', default='present', choices=['absent', 'installed', 'latest', 'present', 'removed']),
build=dict(type='bool', default=False), build=dict(type='bool', default=False),
ports_dir=dict(type='path', default='/usr/ports'), ports_dir=dict(type='path', default='/usr/ports'),

View file

@ -21,12 +21,15 @@ options:
name: name:
description: description:
- name of package to install/remove - name of package to install/remove
aliases: [pkg]
required: true required: true
type: str
state: state:
description: description:
- state of the package - state of the package
choices: [ 'present', 'absent' ] choices: [ 'present', 'absent' ]
default: present default: present
type: str
force: force:
description: description:
- opkg --force parameter used - opkg --force parameter used
@ -43,9 +46,11 @@ options:
- "checksum" - "checksum"
- "removal-of-dependent-packages" - "removal-of-dependent-packages"
default: absent default: absent
type: str
update_cache: update_cache:
description: description:
- update the package db first - update the package db first
aliases: ['update-cache']
default: "no" default: "no"
type: bool type: bool
requirements: requirements:

View file

@ -33,6 +33,7 @@ options:
- Desired state of the package. - Desired state of the package.
default: present default: present
choices: [ absent, latest, present ] choices: [ absent, latest, present ]
type: str
force: force:
description: description:
@ -47,6 +48,7 @@ options:
description: description:
- Additional option to pass to pacman when enforcing C(state). - Additional option to pass to pacman when enforcing C(state).
default: default:
type: str
update_cache: update_cache:
description: description:
@ -60,6 +62,7 @@ options:
description: description:
- Additional option to pass to pacman when enforcing C(update_cache). - Additional option to pass to pacman when enforcing C(update_cache).
default: default:
type: str
upgrade: upgrade:
description: description:
@ -72,6 +75,7 @@ options:
description: description:
- Additional option to pass to pacman when enforcing C(upgrade). - Additional option to pass to pacman when enforcing C(upgrade).
default: default:
type: str
notes: notes:
- When used with a `loop:` each package will be processed individually, - When used with a `loop:` each package will be processed individually,

View file

@ -23,11 +23,14 @@ options:
- An FRMI of the package(s) to be installed/removed/updated. - An FRMI of the package(s) to be installed/removed/updated.
- Multiple packages may be specified, separated by C(,). - Multiple packages may be specified, separated by C(,).
required: true required: true
type: list
elements: str
state: state:
description: description:
- Whether to install (I(present), I(latest)), or remove (I(absent)) a package. - Whether to install (I(present), I(latest)), or remove (I(absent)) a package.
choices: [ absent, latest, present ] choices: [ absent, latest, present ]
default: present default: present
type: str
accept_licenses: accept_licenses:
description: description:
- Accept any licences. - Accept any licences.
@ -74,7 +77,7 @@ from ansible.module_utils.basic import AnsibleModule
def main(): def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
name=dict(type='list', required=True), name=dict(type='list', elements='str', required=True),
state=dict(type='str', default='present', choices=['absent', 'installed', 'latest', 'present', 'removed', 'uninstalled']), state=dict(type='str', default='present', choices=['absent', 'installed', 'latest', 'present', 'removed', 'uninstalled']),
accept_licenses=dict(type='bool', default=False, aliases=['accept', 'accept_licences']), accept_licenses=dict(type='bool', default=False, aliases=['accept', 'accept_licences']),
be_name=dict(type='str'), be_name=dict(type='str'),

View file

@ -24,11 +24,13 @@ options:
- The publisher's name. - The publisher's name.
required: true required: true
aliases: [ publisher ] aliases: [ publisher ]
type: str
state: state:
description: description:
- Whether to ensure that a publisher is present or absent. - Whether to ensure that a publisher is present or absent.
default: present default: present
choices: [ present, absent ] choices: [ present, absent ]
type: str
sticky: sticky:
description: description:
- Packages installed from a sticky repository can only receive updates - Packages installed from a sticky repository can only receive updates
@ -42,10 +44,14 @@ options:
description: description:
- A path or URL to the repository. - A path or URL to the repository.
- Multiple values may be provided. - Multiple values may be provided.
type: list
elements: str
mirror: mirror:
description: description:
- A path or URL to the repository mirror. - A path or URL to the repository mirror.
- Multiple values may be provided. - Multiple values may be provided.
type: list
elements: str
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: Fetch packages for the solaris publisher direct from Oracle - name: Fetch packages for the solaris publisher direct from Oracle
@ -72,8 +78,8 @@ def main():
enabled=dict(type='bool'), enabled=dict(type='bool'),
# search_after=dict(), # search_after=dict(),
# search_before=dict(), # search_before=dict(),
origin=dict(type='list'), origin=dict(type='list', elements='str'),
mirror=dict(type='list'), mirror=dict(type='list', elements='str'),
) )
) )

View file

@ -35,36 +35,40 @@ options:
description: description:
- Name of package to install/remove; - Name of package to install/remove;
- multiple names may be given, separated by commas - multiple names may be given, separated by commas
aliases: [pkg]
type: list
elements: str
state: state:
description: description:
- Intended state of the package - Intended state of the package
choices: [ 'present', 'absent' ] choices: [ 'present', 'absent' ]
default: present default: present
type: str
update_cache: update_cache:
description: description:
- Update repository database. Can be run with other steps or on it's own. - Update repository database. Can be run with other steps or on it's own.
type: bool type: bool
default: 'no' default: no
upgrade: upgrade:
description: description:
- Upgrade main packages to their newer versions - Upgrade main packages to their newer versions
type: bool type: bool
default: 'no' default: no
full_upgrade: full_upgrade:
description: description:
- Upgrade all packages to their newer versions - Upgrade all packages to their newer versions
type: bool type: bool
default: 'no' default: no
clean: clean:
description: description:
- Clean packages cache - Clean packages cache
type: bool type: bool
default: 'no' default: no
force: force:
description: description:
- Force package reinstall - Force package reinstall
type: bool type: bool
default: 'no' default: no
''' '''
EXAMPLES = ''' EXAMPLES = '''
@ -321,7 +325,7 @@ def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
state=dict(default="present", choices=["present", "absent"]), state=dict(default="present", choices=["present", "absent"]),
name=dict(aliases=["pkg"], type='list'), name=dict(aliases=["pkg"], type='list', elements='str'),
update_cache=dict(default=False, type='bool'), update_cache=dict(default=False, type='bool'),
upgrade=dict(default=False, type='bool'), upgrade=dict(default=False, type='bool'),
full_upgrade=dict(default=False, type='bool'), full_upgrade=dict(default=False, type='bool'),

View file

@ -24,6 +24,9 @@ options:
description: description:
- Name or list of names of packages to install/remove. - Name or list of names of packages to install/remove.
required: true required: true
aliases: [pkg]
type: list
elements: str
state: state:
description: description:
- State of the package. - State of the package.
@ -31,6 +34,7 @@ options:
choices: [ 'present', 'latest', 'absent' ] choices: [ 'present', 'latest', 'absent' ]
required: false required: false
default: present default: present
type: str
cached: cached:
description: description:
- Use local package base instead of fetching an updated one. - Use local package base instead of fetching an updated one.
@ -45,6 +49,7 @@ options:
annotation. annotation.
If setting or modifying annotations, a value must be provided. If setting or modifying annotations, a value must be provided.
required: false required: false
type: str
pkgsite: pkgsite:
description: description:
- For pkgng versions before 1.1.4, specify packagesite to use - For pkgng versions before 1.1.4, specify packagesite to use
@ -53,21 +58,25 @@ options:
- For newer pkgng versions, specify a the name of a repository - For newer pkgng versions, specify a the name of a repository
configured in C(/usr/local/etc/pkg/repos). configured in C(/usr/local/etc/pkg/repos).
required: false required: false
type: str
rootdir: rootdir:
description: description:
- For pkgng versions 1.5 and later, pkg will install all packages - For pkgng versions 1.5 and later, pkg will install all packages
within the specified root directory. within the specified root directory.
- Can not be used together with I(chroot) or I(jail) options. - Can not be used together with I(chroot) or I(jail) options.
required: false required: false
type: path
chroot: chroot:
description: description:
- Pkg will chroot in the specified environment. - Pkg will chroot in the specified environment.
- Can not be used together with I(rootdir) or I(jail) options. - Can not be used together with I(rootdir) or I(jail) options.
required: false required: false
type: path
jail: jail:
description: description:
- Pkg will execute in the given jail name or id. - Pkg will execute in the given jail name or id.
- Can not be used together with I(chroot) or I(rootdir) options. - Can not be used together with I(chroot) or I(rootdir) options.
type: str
autoremove: autoremove:
description: description:
- Remove automatically installed packages which are no longer needed. - Remove automatically installed packages which are no longer needed.
@ -346,7 +355,7 @@ def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
state=dict(default="present", choices=["present", "latest", "absent"], required=False), state=dict(default="present", choices=["present", "latest", "absent"], required=False),
name=dict(aliases=["pkg"], required=True, type='list'), name=dict(aliases=["pkg"], required=True, type='list', elements='str'),
cached=dict(default=False, type='bool'), cached=dict(default=False, type='bool'),
annotation=dict(default="", required=False), annotation=dict(default="", required=False),
pkgsite=dict(default="", required=False), pkgsite=dict(default="", required=False),

View file

@ -27,11 +27,13 @@ options:
description: description:
- Package name, e.g. (C(CSWnrpe)) - Package name, e.g. (C(CSWnrpe))
required: true required: true
type: str
site: site:
description: description:
- Specifies the repository path to install the package from. - Specifies the repository path to install the package from.
- Its global definition is done in C(/etc/opt/csw/pkgutil.conf). - Its global definition is done in C(/etc/opt/csw/pkgutil.conf).
required: false required: false
type: str
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.
@ -39,11 +41,12 @@ options:
- "Note: The module has a limitation that (C(latest)) only works for one package, not lists of them." - "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"]
type: str
update_catalog: update_catalog:
description: description:
- If you want to refresh your catalog from the mirror, set this to (C(yes)). - If you want to refresh your catalog from the mirror, set this to (C(yes)).
required: false required: false
default: False default: no
type: bool type: bool
''' '''

View file

@ -24,6 +24,7 @@ options:
package: package:
description: description:
- Package atom or set, e.g. C(sys-apps/foo) or C(>foo-2.13) or C(@world) - Package atom or set, e.g. C(sys-apps/foo) or C(>foo-2.13) or C(@world)
aliases: [name]
type: list type: list
elements: str elements: str
@ -32,24 +33,25 @@ options:
- State of the package atom - State of the package atom
default: "present" default: "present"
choices: [ "present", "installed", "emerged", "absent", "removed", "unmerged", "latest" ] choices: [ "present", "installed", "emerged", "absent", "removed", "unmerged", "latest" ]
type: str
update: update:
description: description:
- Update packages to the best version available (--update) - Update packages to the best version available (--update)
type: bool type: bool
default: 'no' default: no
deep: deep:
description: description:
- Consider the entire dependency tree of packages (--deep) - Consider the entire dependency tree of packages (--deep)
type: bool type: bool
default: 'no' default: no
newuse: newuse:
description: description:
- Include installed packages where USE flags have changed (--newuse) - Include installed packages where USE flags have changed (--newuse)
type: bool type: bool
default: 'no' default: no
changed_use: changed_use:
description: description:
@ -57,31 +59,31 @@ options:
- flags that the user has not enabled are added or removed - flags that the user has not enabled are added or removed
- (--changed-use) - (--changed-use)
type: bool type: bool
default: 'no' default: no
oneshot: oneshot:
description: description:
- Do not add the packages to the world file (--oneshot) - Do not add the packages to the world file (--oneshot)
type: bool type: bool
default: 'no' default: no
noreplace: noreplace:
description: description:
- Do not re-emerge installed packages (--noreplace) - Do not re-emerge installed packages (--noreplace)
type: bool type: bool
default: 'yes' default: yes
nodeps: nodeps:
description: description:
- Only merge packages but not their dependencies (--nodeps) - Only merge packages but not their dependencies (--nodeps)
type: bool type: bool
default: 'no' default: no
onlydeps: onlydeps:
description: description:
- Only merge packages' dependencies but not the packages (--onlydeps) - Only merge packages' dependencies but not the packages (--onlydeps)
type: bool type: bool
default: 'no' default: no
depclean: depclean:
description: description:
@ -89,19 +91,19 @@ options:
- If no package is specified, clean up the world's dependencies - If no package is specified, clean up the world's dependencies
- Otherwise, --depclean serves as a dependency aware version of --unmerge - Otherwise, --depclean serves as a dependency aware version of --unmerge
type: bool type: bool
default: 'no' default: no
quiet: quiet:
description: description:
- Run emerge in quiet mode (--quiet) - Run emerge in quiet mode (--quiet)
type: bool type: bool
default: 'no' default: no
verbose: verbose:
description: description:
- Run emerge in verbose mode (--verbose) - Run emerge in verbose mode (--verbose)
type: bool type: bool
default: 'no' default: no
sync: sync:
description: description:
@ -109,30 +111,38 @@ options:
- If yes, perform "emerge --sync" - If yes, perform "emerge --sync"
- If web, perform "emerge-webrsync" - If web, perform "emerge-webrsync"
choices: [ "web", "yes", "no" ] choices: [ "web", "yes", "no" ]
type: str
getbinpkg: getbinpkg:
description: description:
- Prefer packages specified at PORTAGE_BINHOST in make.conf - Prefer packages specified at PORTAGE_BINHOST in make.conf
type: bool type: bool
default: 'no' default: no
usepkgonly: usepkgonly:
description: description:
- Merge only binaries (no compiling). This sets getbinpkg=yes. - Merge only binaries (no compiling). This sets getbinpkg=yes.
type: bool type: bool
default: 'no' default: no
usepkg:
description:
- Tries to use the binary package(s) in the locally available packages directory.
type: bool
default: no
keepgoing: keepgoing:
description: description:
- Continue as much as possible after an error. - Continue as much as possible after an error.
type: bool type: bool
default: 'no' default: no
jobs: jobs:
description: description:
- Specifies the number of packages to build simultaneously. - Specifies the number of packages to build simultaneously.
- "Since version 2.6: Value of 0 or False resets any previously added" - "Since version 2.6: Value of 0 or False resets any previously added"
- --jobs setting values - --jobs setting values
type: int
loadavg: loadavg:
description: description:
@ -140,13 +150,14 @@ options:
- other builds running and the load average is at least LOAD - other builds running and the load average is at least LOAD
- "Since version 2.6: Value of 0 or False resets any previously added" - "Since version 2.6: Value of 0 or False resets any previously added"
- --load-average setting values - --load-average setting values
type: float
quietbuild: quietbuild:
description: description:
- Redirect all build output to logs alone, and do not display it - Redirect all build output to logs alone, and do not display it
- on stdout (--quiet-build) - on stdout (--quiet-build)
type: bool type: bool
default: 'no' default: no
quietfail: quietfail:
description: description:
@ -154,7 +165,7 @@ options:
- Only the die message and the path of the build log will be - Only the die message and the path of the build log will be
- displayed on stdout. - displayed on stdout.
type: bool type: bool
default: 'no' default: no
requirements: [ gentoolkit ] requirements: [ gentoolkit ]
author: author:

View file

@ -21,13 +21,16 @@ options:
name: name:
description: description:
- name of package to install/remove - name of package to install/remove
aliases: [pkg]
required: true required: true
type: str
state: state:
description: description:
- state of the package - state of the package
choices: [ 'present', 'absent' ] choices: [ 'present', 'absent' ]
required: false required: false
default: present default: present
type: str
use_packages: use_packages:
description: description:
- use packages instead of ports whenever available - use packages instead of ports whenever available

View file

@ -21,10 +21,11 @@ options:
description: description:
- Whether or not to add the export distributor to new C(rpm) repositories. - Whether or not to add the export distributor to new C(rpm) repositories.
type: bool type: bool
default: 'no' default: no
feed: feed:
description: description:
- Upstream feed URL to receive updates from. - Upstream feed URL to receive updates from.
type: str
force_basic_auth: force_basic_auth:
description: description:
- httplib2, the library used by the M(uri) module only sends - httplib2, the library used by the M(uri) module only sends
@ -33,14 +34,14 @@ options:
properly send a 401, logins will fail. This option forces the sending of properly send a 401, logins will fail. This option forces the sending of
the Basic authentication header upon initial request. the Basic authentication header upon initial request.
type: bool type: bool
default: 'no' default: no
generate_sqlite: generate_sqlite:
description: description:
- Boolean flag to indicate whether sqlite files should be generated during - Boolean flag to indicate whether sqlite files should be generated during
a repository publish. a repository publish.
required: false required: false
type: bool type: bool
default: 'no' default: no
feed_ca_cert: feed_ca_cert:
description: description:
- CA certificate string used to validate the feed source SSL certificate. - CA certificate string used to validate the feed source SSL certificate.
@ -73,60 +74,69 @@ options:
description: description:
- Name of the repo to add or remove. This correlates to repo-id in Pulp. - Name of the repo to add or remove. This correlates to repo-id in Pulp.
required: true required: true
type: str
aliases: [ repo ]
proxy_host: proxy_host:
description: description:
- Proxy url setting for the pulp repository importer. This is in the - Proxy url setting for the pulp repository importer. This is in the
format scheme://host. format scheme://host.
required: false required: false
default: null default: null
type: str
proxy_port: proxy_port:
description: description:
- Proxy port setting for the pulp repository importer. - Proxy port setting for the pulp repository importer.
required: false required: false
default: null default: null
type: str
proxy_username: proxy_username:
description: description:
- Proxy username for the pulp repository importer. - Proxy username for the pulp repository importer.
required: false required: false
default: null default: null
type: str
proxy_password: proxy_password:
description: description:
- Proxy password for the pulp repository importer. - Proxy password for the pulp repository importer.
required: false required: false
default: null default: null
type: str
publish_distributor: publish_distributor:
description: description:
- Distributor to use when state is C(publish). The default is to - Distributor to use when state is C(publish). The default is to
publish all distributors. publish all distributors.
type: str
pulp_host: pulp_host:
description: description:
- URL of the pulp server to connect to. - URL of the pulp server to connect to.
default: http://127.0.0.1 default: https://127.0.0.1
type: str
relative_url: relative_url:
description: description:
- Relative URL for the local repository. - Relative URL for the local repository. It's required when state=present.
required: true type: str
repo_type: repo_type:
description: description:
- Repo plugin type to use (i.e. C(rpm), C(docker)). - Repo plugin type to use (i.e. C(rpm), C(docker)).
default: rpm default: rpm
type: str
repoview: repoview:
description: description:
- Whether to generate repoview files for a published repository. Setting - Whether to generate repoview files for a published repository. Setting
this to "yes" automatically activates `generate_sqlite`. this to "yes" automatically activates `generate_sqlite`.
required: false required: false
type: bool type: bool
default: 'no' default: no
serve_http: serve_http:
description: description:
- Make the repo available over HTTP. - Make the repo available over HTTP.
type: bool type: bool
default: 'no' default: no
serve_https: serve_https:
description: description:
- Make the repo available over HTTPS. - Make the repo available over HTTPS.
type: bool type: bool
default: 'yes' default: yes
state: state:
description: description:
- The repo state. A state of C(sync) will queue a sync of the repo. - The repo state. A state of C(sync) will queue a sync of the repo.
@ -134,6 +144,7 @@ options:
C(publish) will use the repository's distributor to publish the content. C(publish) will use the repository's distributor to publish the content.
default: present default: present
choices: [ "present", "absent", "sync", "publish" ] choices: [ "present", "absent", "sync", "publish" ]
type: str
url_password: url_password:
description: description:
- The password for use in HTTP basic authentication to the pulp API. - The password for use in HTTP basic authentication to the pulp API.
@ -147,12 +158,12 @@ options:
- If C(no), SSL certificates will not be validated. This should only be - If C(no), SSL certificates will not be validated. This should only be
used on personally controlled sites using self-signed certificates. used on personally controlled sites using self-signed certificates.
type: bool type: bool
default: 'yes' default: yes
wait_for_completion: wait_for_completion:
description: description:
- Wait for asynchronous tasks to complete before returning. - Wait for asynchronous tasks to complete before returning.
type: bool type: bool
default: 'no' default: no
notes: notes:
- This module can currently only create distributors and importers on rpm - This module can currently only create distributors and importers on rpm
repositories. Contributions to support other repo types are welcome. repositories. Contributions to support other repo types are welcome.

View file

@ -29,58 +29,73 @@ options:
- whether to register and subscribe (C(present)), or unregister (C(absent)) a system - whether to register and subscribe (C(present)), or unregister (C(absent)) a system
choices: [ "present", "absent" ] choices: [ "present", "absent" ]
default: "present" default: "present"
type: str
username: username:
description: description:
- access.redhat.com or Sat6 username - access.redhat.com or Sat6 username
type: str
password: password:
description: description:
- access.redhat.com or Sat6 password - access.redhat.com or Sat6 password
type: str
server_hostname: server_hostname:
description: description:
- Specify an alternative Red Hat Subscription Management or Sat6 server - Specify an alternative Red Hat Subscription Management or Sat6 server
type: str
server_insecure: server_insecure:
description: description:
- Enable or disable https server certificate verification when connecting to C(server_hostname) - Enable or disable https server certificate verification when connecting to C(server_hostname)
type: str
rhsm_baseurl: rhsm_baseurl:
description: description:
- Specify CDN baseurl - Specify CDN baseurl
type: str
rhsm_repo_ca_cert: rhsm_repo_ca_cert:
description: description:
- Specify an alternative location for a CA certificate for CDN - Specify an alternative location for a CA certificate for CDN
type: str
server_proxy_hostname: server_proxy_hostname:
description: description:
- Specify a HTTP proxy hostname - Specify a HTTP proxy hostname
type: str
server_proxy_port: server_proxy_port:
description: description:
- Specify a HTTP proxy port - Specify a HTTP proxy port
type: str
server_proxy_user: server_proxy_user:
description: description:
- Specify a user for HTTP proxy with basic authentication - Specify a user for HTTP proxy with basic authentication
type: str
server_proxy_password: server_proxy_password:
description: description:
- Specify a password for HTTP proxy with basic authentication - Specify a password for HTTP proxy with basic authentication
type: str
auto_attach: auto_attach:
description: description:
- Upon successful registration, auto-consume available subscriptions - Upon successful registration, auto-consume available subscriptions
- Added in favor of deprecated autosubscribe in 2.5. - Added in favor of deprecated autosubscribe in 2.5.
type: bool type: bool
default: 'no' default: no
aliases: [autosubscribe] aliases: [autosubscribe]
activationkey: activationkey:
description: description:
- supply an activation key for use with registration - supply an activation key for use with registration
type: str
org_id: org_id:
description: description:
- Organization ID to use in conjunction with activationkey - Organization ID to use in conjunction with activationkey
type: str
environment: environment:
description: description:
- Register with a specific environment in the destination org. Used with Red Hat Satellite 6.x or Katello - Register with a specific environment in the destination org. Used with Red Hat Satellite 6.x or Katello
type: str
pool: pool:
description: description:
- | - |
Specify a subscription pool name to consume. Regular expressions accepted. Use I(pool_ids) instead if Specify a subscription pool name to consume. Regular expressions accepted. Use I(pool_ids) instead if
possible, as it is much faster. Mutually exclusive with I(pool_ids). possible, as it is much faster. Mutually exclusive with I(pool_ids).
default: '^$' default: '^$'
type: str
pool_ids: pool_ids:
description: description:
- | - |
@ -90,12 +105,15 @@ options:
C(0123456789abcdef0123456789abcdef: 2). If the quantity is provided, it is used to consume multiple C(0123456789abcdef0123456789abcdef: 2). If the quantity is provided, it is used to consume multiple
entitlements from a pool (the pool must support this). Mutually exclusive with I(pool). entitlements from a pool (the pool must support this). Mutually exclusive with I(pool).
default: [] default: []
type: list
consumer_type: consumer_type:
description: description:
- The type of unit to register, defaults to system - The type of unit to register, defaults to system
type: str
consumer_name: consumer_name:
description: description:
- Name of the system to register, defaults to the hostname - Name of the system to register, defaults to the hostname
type: str
consumer_id: consumer_id:
description: description:
- | - |
@ -103,14 +121,16 @@ options:
for this system. If the system's identity certificate is lost or corrupted, for this system. If the system's identity certificate is lost or corrupted,
this option allows it to resume using its previous identity and subscriptions. this option allows it to resume using its previous identity and subscriptions.
The default is to not specify a consumer ID so a new ID is created. The default is to not specify a consumer ID so a new ID is created.
type: str
force_register: force_register:
description: description:
- Register the system even if it is already registered - Register the system even if it is already registered
type: bool type: bool
default: 'no' default: no
release: release:
description: description:
- Set a release version - Set a release version
type: str
syspurpose: syspurpose:
description: description:
- Set syspurpose attributes in file C(/etc/rhsm/syspurpose/syspurpose.json) - Set syspurpose attributes in file C(/etc/rhsm/syspurpose/syspurpose.json)
@ -124,10 +144,13 @@ options:
suboptions: suboptions:
usage: usage:
description: Syspurpose attribute usage description: Syspurpose attribute usage
type: str
role: role:
description: Syspurpose attribute role description: Syspurpose attribute role
type: str
service_level_agreement: service_level_agreement:
description: Syspurpose attribute service_level_agreement description: Syspurpose attribute service_level_agreement
type: str
addons: addons:
description: Syspurpose attribute addons description: Syspurpose attribute addons
type: list type: list
@ -137,7 +160,7 @@ options:
RHSM server immediately. When this option is false, then syspurpose attributes RHSM server immediately. When this option is false, then syspurpose attributes
will be synchronized with RHSM server by rhsmcertd daemon. will be synchronized with RHSM server by rhsmcertd daemon.
type: bool type: bool
default: False default: no
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -22,26 +22,33 @@ options:
description: description:
- Name of the software channel. - Name of the software channel.
required: true required: true
type: str
sysname: sysname:
description: description:
- Name of the system as it is known in RHN/Satellite. - Name of the system as it is known in RHN/Satellite.
required: true required: true
type: str
state: state:
description: description:
- Whether the channel should be present or not, taking action if the state is different from what is stated. - Whether the channel should be present or not, taking action if the state is different from what is stated.
default: present default: present
type: str
url: url:
description: description:
- The full URL to the RHN/Satellite API. - The full URL to the RHN/Satellite API.
required: true required: true
type: str
user: user:
description: description:
- RHN/Satellite login. - RHN/Satellite login.
required: true required: true
type: str
password: password:
description: description:
- RHN/Satellite password. - RHN/Satellite password.
aliases: [pwd]
required: true required: true
type: str
validate_certs: validate_certs:
description: description:
- If C(False), SSL certificates will not be validated. - If C(False), SSL certificates will not be validated.

View file

@ -62,6 +62,7 @@ options:
description: description:
- Optionally specify a list of channels to subscribe to upon successful registration. - Optionally specify a list of channels to subscribe to upon successful registration.
type: list type: list
elements: str
default: [] default: []
enable_eus: enable_eus:
description: description:
@ -346,7 +347,7 @@ def main():
systemorgid=dict(type='str'), systemorgid=dict(type='str'),
enable_eus=dict(type='bool', default=False), enable_eus=dict(type='bool', default=False),
nopackages=dict(type='bool', default=False), nopackages=dict(type='bool', default=False),
channels=dict(type='list', default=[]), channels=dict(type='list', elements='str', default=[]),
), ),
# username/password is required for state=absent, or if channels is not empty # username/password is required for state=absent, or if channels is not empty
# (basically anything that uses self.api requires username/password) but it doesn't # (basically anything that uses self.api requires username/password) but it doesn't

View file

@ -23,6 +23,7 @@ options:
description: description:
- RHSM release version to use (use null to unset) - RHSM release version to use (use null to unset)
required: true required: true
type: str
author: author:
- Sean Myers (@seandst) - Sean Myers (@seandst)
''' '''

View file

@ -26,21 +26,23 @@ options:
- If state is equal to present or disabled, indicates the desired - If state is equal to present or disabled, indicates the desired
repository state. repository state.
choices: [present, enabled, absent, disabled] choices: [present, enabled, absent, disabled]
required: True default: "enabled"
default: "present" type: str
name: name:
description: description:
- The ID of repositories to enable. - The ID of repositories to enable.
- To operate on several repositories this can accept a comma separated - To operate on several repositories this can accept a comma separated
list or a YAML list. list or a YAML list.
required: True required: True
type: list
elements: str
purge: purge:
description: description:
- Disable all currently enabled repositories that are not not specified in C(name). - Disable all currently enabled repositories that are not not specified in C(name).
Only set this to C(True) if passing in a list of repositories to the C(name) field. Only set this to C(True) if passing in a list of repositories to the C(name) field.
Using this with C(loop) will most likely not have the desired result. Using this with C(loop) will most likely not have the desired result.
type: bool type: bool
default: False default: no
''' '''
EXAMPLES = ''' EXAMPLES = '''
@ -226,7 +228,7 @@ def repository_modify(module, state, name, purge=False):
def main(): def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
name=dict(type='list', required=True), name=dict(type='list', elements='str', required=True),
state=dict(choices=['enabled', 'disabled', 'present', 'absent'], default='enabled'), state=dict(choices=['enabled', 'disabled', 'present', 'absent'], default='enabled'),
purge=dict(type='bool', default=False), purge=dict(type='bool', default=False),
), ),

View file

@ -26,6 +26,9 @@ options:
description: description:
- name of package to install/remove - name of package to install/remove
required: true required: true
type: list
elements: str
aliases: [pkg]
state: state:
description: description:
@ -33,6 +36,7 @@ options:
choices: [ 'present', 'absent', 'latest' ] choices: [ 'present', 'absent', 'latest' ]
required: false required: false
default: present default: present
type: str
update_cache: update_cache:
description: description:
@ -40,6 +44,7 @@ options:
required: false required: false
default: false default: false
type: bool type: bool
aliases: [update-cache]
author: Kim Nørgaard (@KimNorgaard) author: Kim Nørgaard (@KimNorgaard)
requirements: [ "Slackware >= 12.2" ] requirements: [ "Slackware >= 12.2" ]
@ -170,8 +175,8 @@ def update_cache(module, slackpkg_path):
def main(): def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
state=dict(default="installed", choices=['installed', 'removed', 'absent', 'present', 'latest']), state=dict(default="present", choices=['installed', 'removed', 'absent', 'present', 'latest']),
name=dict(aliases=["pkg"], required=True, type='list'), name=dict(aliases=["pkg"], required=True, type='list', elements='str'),
update_cache=dict(default=False, aliases=["update-cache"], update_cache=dict(default=False, aliases=["update-cache"],
type='bool'), type='bool'),
), ),

View file

@ -24,12 +24,15 @@ options:
description: description:
- Name of the snap to install or remove. Can be a list of snaps. - Name of the snap to install or remove. Can be a list of snaps.
required: true required: true
type: list
elements: str
state: state:
description: description:
- Desired state of the package. - Desired state of the package.
required: false required: false
default: present default: present
choices: [ absent, present ] choices: [ absent, present ]
type: str
classic: classic:
description: description:
- Confinement policy. The classic confinement allows a snap to have - Confinement policy. The classic confinement allows a snap to have
@ -38,7 +41,7 @@ options:
This option can only be specified if there is a single snap in the task. This option can only be specified if there is a single snap in the task.
type: bool type: bool
required: false required: false
default: False default: no
channel: channel:
description: description:
- Define which release of a snap is installed and tracked for updates. - Define which release of a snap is installed and tracked for updates.
@ -233,7 +236,7 @@ def execute_action(module):
def main(): def main():
module_args = { module_args = {
'name': dict(type='list', required=True), 'name': dict(type='list', elements='str', required=True),
'state': dict(type='str', required=False, default='present', choices=['absent', 'present']), 'state': dict(type='str', required=False, default='present', choices=['absent', 'present']),
'classic': dict(type='bool', required=False, default=False), 'classic': dict(type='bool', required=False, default=False),
'channel': dict(type='str', required=False, default='stable'), 'channel': dict(type='str', required=False, default='stable'),

View file

@ -31,6 +31,8 @@ options:
- special value '*' in conjunction with states C(latest) or - special value '*' in conjunction with states C(latest) or
C(rebuild) will update or rebuild the whole system respectively C(rebuild) will update or rebuild the whole system respectively
aliases: ["spell"] aliases: ["spell"]
type: list
elements: str
state: state:
description: description:
@ -41,6 +43,7 @@ options:
those existed before those existed before
choices: ["present", "latest", "absent", "cast", "dispelled", "rebuild"] choices: ["present", "latest", "absent", "cast", "dispelled", "rebuild"]
default: "present" default: "present"
type: str
depends: depends:
description: description:
@ -51,18 +54,19 @@ options:
contains more than one spell contains more than one spell
- providers must be supplied in the form recognized by Sorcery, e.g. - providers must be supplied in the form recognized by Sorcery, e.g.
'openssl(SSL)' 'openssl(SSL)'
type: str
update: update:
description: description:
- Whether or not to update sorcery scripts at the very first stage - Whether or not to update sorcery scripts at the very first stage
type: bool type: bool
default: 'no' default: no
update_cache: update_cache:
description: description:
- Whether or not to update grimoire collection before casting spells - Whether or not to update grimoire collection before casting spells
type: bool type: bool
default: 'no' default: no
aliases: ["update_codex"] aliases: ["update_codex"]
cache_valid_time: cache_valid_time:
@ -70,6 +74,7 @@ options:
- Time in seconds to invalidate grimoire collection on update - Time in seconds to invalidate grimoire collection on update
- especially useful for SCM and rsync grimoires - especially useful for SCM and rsync grimoires
- makes sense only in pair with C(update_cache) - makes sense only in pair with C(update_cache)
type: int
''' '''
@ -593,7 +598,7 @@ def manage_spells(module):
def main(): def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
name=dict(default=None, aliases=['spell'], type='list'), name=dict(default=None, aliases=['spell'], type='list', elements='str'),
state=dict(default='present', choices=['present', 'latest', state=dict(default='present', choices=['present', 'latest',
'absent', 'cast', 'dispelled', 'rebuild']), 'absent', 'cast', 'dispelled', 'rebuild']),
depends=dict(default=None), depends=dict(default=None),

View file

@ -25,6 +25,7 @@ options:
description: description:
- Package name, e.g. C(SUNWcsr) - Package name, e.g. C(SUNWcsr)
required: true required: true
type: str
state: state:
description: description:
@ -33,19 +34,23 @@ options:
- The SVR4 package system doesn't provide an upgrade operation. You need to uninstall the old, then install the new package. - The SVR4 package system doesn't provide an upgrade operation. You need to uninstall the old, then install the new package.
required: true required: true
choices: ["present", "absent"] choices: ["present", "absent"]
type: str
src: src:
description: description:
- Specifies the location to install the package from. Required when C(state=present). - Specifies the location to install the package from. Required when C(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)." - "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)."
- If using a file or directory, they must already be accessible by the host. See the M(copy) module for a way to get them there. - If using a file or directory, they must already be accessible by the host. See the M(copy) module for a way to get them there.
type: str
proxy: proxy:
description: description:
- HTTP[s] proxy to be used if C(src) is a URL. - HTTP[s] proxy to be used if C(src) is a URL.
type: str
response_file: response_file:
description: description:
- Specifies the location of a response file to be used if package expects input on install. (added in Ansible 1.4) - Specifies the location of a response file to be used if package expects input on install. (added in Ansible 1.4)
required: false required: false
type: str
zone: zone:
description: description:
- Whether to install the package only in the current zone, or install it into all zones. - Whether to install the package only in the current zone, or install it into all zones.
@ -53,6 +58,7 @@ options:
required: false required: false
default: "all" default: "all"
choices: ["current", "all"] choices: ["current", "all"]
type: str
category: category:
description: description:
- Install/Remove category instead of a single package. - Install/Remove category instead of a single package.

View file

@ -23,15 +23,19 @@ options:
name: name:
description: description:
- package name. - package name.
aliases: [pkg]
required: true required: true
type: str
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: true required: true
choices: [ 'present', 'latest', 'absent'] choices: [ 'present', 'latest', 'absent']
type: str
depot: depot:
description: description:
- The source repository from which install or upgrade a package. - The source repository from which install or upgrade a package.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -21,26 +21,31 @@ options:
description: description:
- URL pointing to the contents of available bundles. - URL pointing to the contents of available bundles.
If not specified, the contents are retrieved from clearlinux.org. If not specified, the contents are retrieved from clearlinux.org.
type: str
format: format:
description: description:
- The format suffix for version file downloads. For example [1,2,3,staging,etc]. - The format suffix for version file downloads. For example [1,2,3,staging,etc].
If not specified, the default format is used. If not specified, the default format is used.
type: str
manifest: manifest:
description: description:
- The manifest contains information about the bundles at certain version of the OS. - The manifest contains information about the bundles at certain version of the OS.
Specify a Manifest version to verify against that version or leave unspecified to Specify a Manifest version to verify against that version or leave unspecified to
verify against the current version. verify against the current version.
aliases: [release, version] aliases: [release, version]
type: int
name: name:
description: description:
- Name of the (I)bundle to install or remove. - Name of the (I)bundle to install or remove.
aliases: [bundle] aliases: [bundle]
type: str
state: state:
description: description:
- Indicates the desired (I)bundle state. C(present) ensures the bundle - Indicates the desired (I)bundle state. C(present) ensures the bundle
is installed while C(absent) ensures the (I)bundle is not installed. is installed while C(absent) ensures the (I)bundle is not installed.
default: present default: present
choices: [present, absent] choices: [present, absent]
type: str
update: update:
description: description:
- Updates the OS to the latest version. - Updates the OS to the latest version.
@ -48,6 +53,7 @@ options:
url: url:
description: description:
- Overrides both I(contenturl) and I(versionurl). - Overrides both I(contenturl) and I(versionurl).
type: str
verify: verify:
description: description:
- Verify content for OS version. - Verify content for OS version.
@ -55,6 +61,7 @@ options:
versionurl: versionurl:
description: description:
- URL for version string download. - URL for version string download.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -22,34 +22,38 @@ options:
- A list of package names to install, upgrade or remove. - A list of package names to install, upgrade or remove.
required: yes required: yes
aliases: [ package, pkg ] aliases: [ package, pkg ]
type: list
elements: str
state: state:
description: description:
- Indicates the desired package state. - Indicates the desired package state.
choices: [ absent, present ] choices: [ absent, present ]
default: present default: present
type: str
update_cache: update_cache:
description: description:
- Update the package database first C(urpmi.update -a). - Update the package database first C(urpmi.update -a).
type: bool type: bool
default: 'no' default: no
aliases: ['update-cache']
no-recommends: no-recommends:
description: description:
- Corresponds to the C(--no-recommends) option for I(urpmi). - Corresponds to the C(--no-recommends) option for I(urpmi).
type: bool type: bool
default: 'yes' default: yes
aliases: ['no-recommends'] aliases: ['no_recommends']
force: force:
description: description:
- Assume "yes" is the answer to any question urpmi has to ask. - Assume "yes" is the answer to any question urpmi has to ask.
Corresponds to the C(--force) option for I(urpmi). Corresponds to the C(--force) option for I(urpmi).
type: bool type: bool
default: 'yes' default: yes
root: root:
description: description:
- Specifies an alternative install root, relative to which all packages will be installed. - Specifies an alternative install root, relative to which all packages will be installed.
Corresponds to the C(--root) option for I(urpmi). Corresponds to the C(--root) option for I(urpmi).
default: /
aliases: [ installroot ] aliases: [ installroot ]
type: str
author: author:
- Philippe Makowski (@pmakowski) - Philippe Makowski (@pmakowski)
''' '''
@ -189,12 +193,12 @@ def root_option(root):
def main(): def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
state=dict(type='str', default='installed', state=dict(type='str', default='present',
choices=['absent', 'installed', 'present', 'removed']), choices=['absent', 'installed', 'present', 'removed']),
update_cache=dict(type='bool', default=False, aliases=['update-cache']), update_cache=dict(type='bool', default=False, aliases=['update-cache']),
force=dict(type='bool', default=True), force=dict(type='bool', default=True),
no_recommends=dict(type='bool', default=True, aliases=['no-recommends']), no_recommends=dict(type='bool', default=True, aliases=['no-recommends']),
name=dict(type='list', required=True, aliases=['package', 'pkg']), name=dict(type='list', elements='str', required=True, aliases=['package', 'pkg']),
root=dict(type='str', aliases=['installroot']), root=dict(type='str', aliases=['installroot']),
), ),
) )

View file

@ -22,29 +22,34 @@ options:
name: name:
description: description:
- Name of the package to install, upgrade, or remove. - Name of the package to install, upgrade, or remove.
aliases: [pkg,package]
type: list
elements: str
state: state:
description: description:
- Desired state of the package. - Desired state of the package.
default: "present" default: "present"
choices: ["present", "absent", "latest"] choices: ["present", "absent", "latest"]
type: str
recurse: recurse:
description: description:
- When removing a package, also remove its dependencies, provided - When removing a package, also remove its dependencies, provided
that they are not required by other packages and were not that they are not required by other packages and were not
explicitly installed by a user. explicitly installed by a user.
type: bool type: bool
default: 'no' default: no
update_cache: update_cache:
description: description:
- Whether or not to refresh the master package lists. This can be - Whether or not to refresh the master package lists. This can be
run as part of a package installation or as a separate step. run as part of a package installation or as a separate step.
aliases: ['update-cache']
type: bool type: bool
default: 'yes' default: yes
upgrade: upgrade:
description: description:
- Whether or not to upgrade whole system - Whether or not to upgrade whole system
type: bool type: bool
default: 'no' default: no
upgrade_xbps: upgrade_xbps:
description: description:
- Whether or not to upgrade the xbps package when necessary. - Whether or not to upgrade the xbps package when necessary.
@ -53,8 +58,14 @@ options:
Thus when this option is set to C(no), Thus when this option is set to C(no),
upgrades and installations will fail when xbps is not up to date. upgrades and installations will fail when xbps is not up to date.
type: bool type: bool
default: 'yes' default: yes
version_added: '0.2.0' version_added: '0.2.0'
force:
description:
- This option doesn't have any effect and is deprecated, it will be
removed in 3.0.0.
type: bool
default: no
''' '''
EXAMPLES = ''' EXAMPLES = '''
@ -272,12 +283,12 @@ def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
name=dict(default=None, aliases=['pkg', 'package'], type='list'), name=dict(default=None, aliases=['pkg', 'package'], type='list', elements='str'),
state=dict(default='present', choices=['present', 'installed', state=dict(default='present', choices=['present', 'installed',
'latest', 'absent', 'latest', 'absent',
'removed']), 'removed']),
recurse=dict(default=False, type='bool'), recurse=dict(default=False, type='bool'),
force=dict(default=False, type='bool'), force=dict(default=False, type='bool', removed_in_version='3.0.0', removed_from_collection='community.general'),
upgrade=dict(default=False, type='bool'), upgrade=dict(default=False, type='bool'),
update_cache=dict(default=True, aliases=['update-cache'], update_cache=dict(default=True, aliases=['update-cache'],
type='bool'), type='bool'),

View file

@ -39,6 +39,8 @@ options:
- When using state=latest, this can be '*', which updates all installed packages. - When using state=latest, this can be '*', which updates all installed packages.
required: true required: true
aliases: [ 'pkg' ] aliases: [ 'pkg' ]
type: list
elements: str
state: state:
description: description:
- C(present) will make sure the package is installed. - C(present) will make sure the package is installed.
@ -49,17 +51,20 @@ options:
required: false required: false
choices: [ present, latest, absent, dist-upgrade ] choices: [ present, latest, absent, dist-upgrade ]
default: "present" default: "present"
type: str
type: type:
description: description:
- The type of package to be operated on. - The type of package to be operated on.
required: false required: false
choices: [ package, patch, pattern, product, srcpackage, application ] choices: [ package, patch, pattern, product, srcpackage, application ]
default: "package" default: "package"
type: str
extra_args_precommand: extra_args_precommand:
required: false required: false
description: description:
- Add additional global target options to C(zypper). - Add additional global target options to C(zypper).
- Options should be supplied in a single line as if given in the command line. - Options should be supplied in a single line as if given in the command line.
type: str
disable_gpg_check: disable_gpg_check:
description: description:
- Whether to disable to GPG signature checking of the package - Whether to disable to GPG signature checking of the package
@ -107,6 +112,7 @@ options:
description: description:
- Add additional options to C(zypper) command. - Add additional options to C(zypper) command.
- Options should be supplied in a single line as if given in the command line. - Options should be supplied in a single line as if given in the command line.
type: str
allow_vendor_change: allow_vendor_change:
type: bool type: bool
required: false required: false
@ -492,7 +498,7 @@ def repo_refresh(m):
def main(): def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
name=dict(required=True, aliases=['pkg'], type='list'), name=dict(required=True, aliases=['pkg'], type='list', elements='str'),
state=dict(required=False, default='present', choices=['absent', 'installed', 'latest', 'present', 'removed', 'dist-upgrade']), state=dict(required=False, default='present', choices=['absent', 'installed', 'latest', 'present', 'removed', 'dist-upgrade']),
type=dict(required=False, default='package', choices=['package', 'patch', 'pattern', 'product', 'srcpackage', 'application']), type=dict(required=False, default='package', choices=['package', 'patch', 'pattern', 'product', 'srcpackage', 'application']),
extra_args_precommand=dict(required=False, default=None), extra_args_precommand=dict(required=False, default=None),

View file

@ -21,17 +21,21 @@ options:
name: name:
description: description:
- A name for the repository. Not required when adding repofiles. - A name for the repository. Not required when adding repofiles.
type: str
repo: repo:
description: description:
- URI of the repository or .repo file. Required when state=present. - URI of the repository or .repo file. Required when state=present.
type: str
state: state:
description: description:
- A source string state. - A source string state.
choices: [ "absent", "present" ] choices: [ "absent", "present" ]
default: "present" default: "present"
type: str
description: description:
description: description:
- A description of the repository - A description of the repository
type: str
disable_gpg_check: disable_gpg_check:
description: description:
- Whether to disable GPG signature checking of - Whether to disable GPG signature checking of
@ -39,24 +43,25 @@ options:
I(present). I(present).
- Needs zypper version >= 1.6.2. - Needs zypper version >= 1.6.2.
type: bool type: bool
default: 'no' default: no
autorefresh: autorefresh:
description: description:
- Enable autorefresh of the repository. - Enable autorefresh of the repository.
type: bool type: bool
default: 'yes' default: yes
aliases: [ "refresh" ] aliases: [ "refresh" ]
priority: priority:
description: description:
- Set priority of repository. Packages will always be installed - Set priority of repository. Packages will always be installed
from the repository with the smallest priority number. from the repository with the smallest priority number.
- Needs zypper version >= 1.12.25. - Needs zypper version >= 1.12.25.
type: int
overwrite_multiple: overwrite_multiple:
description: description:
- Overwrite multiple repository entries, if repositories with both name and - Overwrite multiple repository entries, if repositories with both name and
URL already exist. URL already exist.
type: bool type: bool
default: 'no' default: no
auto_import_keys: auto_import_keys:
description: description:
- Automatically import the gpg signing key of the new or changed repository. - Automatically import the gpg signing key of the new or changed repository.
@ -64,18 +69,18 @@ options:
- Implies runrefresh. - Implies runrefresh.
- Only works with C(.repo) files if `name` is given explicitly. - Only works with C(.repo) files if `name` is given explicitly.
type: bool type: bool
default: 'no' default: no
runrefresh: runrefresh:
description: description:
- Refresh the package list of the given repository. - Refresh the package list of the given repository.
- Can be used with repo=* to refresh all repositories. - Can be used with repo=* to refresh all repositories.
type: bool type: bool
default: 'no' default: no
enabled: enabled:
description: description:
- Set repository to enabled (or disabled). - Set repository to enabled (or disabled).
type: bool type: bool
default: 'yes' default: yes
requirements: requirements:

View file

@ -1022,107 +1022,29 @@ plugins/modules/packaging/language/pip_package_info.py validate-modules:paramete
plugins/modules/packaging/language/yarn.py validate-modules:doc-missing-type plugins/modules/packaging/language/yarn.py validate-modules:doc-missing-type
plugins/modules/packaging/language/yarn.py validate-modules:parameter-type-not-in-doc plugins/modules/packaging/language/yarn.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/apk.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/apk.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/apk.py validate-modules:doc-missing-type
plugins/modules/packaging/os/apk.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/apk.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/apt_repo.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/apt_rpm.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/apt_rpm.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/apt_rpm.py validate-modules:doc-default-does-not-match-spec
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/apt_rpm.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid
plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid
plugins/modules/packaging/os/installp.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/layman.py validate-modules:doc-missing-type
plugins/modules/packaging/os/layman.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/macports.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/macports.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/macports.py validate-modules:doc-missing-type
plugins/modules/packaging/os/macports.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/openbsd_pkg.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/openbsd_pkg.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/openbsd_pkg.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/openbsd_pkg.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/opkg.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/opkg.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/opkg.py validate-modules:doc-default-does-not-match-spec plugins/modules/packaging/os/opkg.py validate-modules:doc-default-does-not-match-spec
plugins/modules/packaging/os/opkg.py validate-modules:doc-missing-type
plugins/modules/packaging/os/opkg.py validate-modules:parameter-invalid plugins/modules/packaging/os/opkg.py validate-modules:parameter-invalid
plugins/modules/packaging/os/opkg.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/pacman.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/pacman.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/pacman.py validate-modules:parameter-invalid plugins/modules/packaging/os/pacman.py validate-modules:parameter-invalid
plugins/modules/packaging/os/pacman.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/pkg5.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/pkg5.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/pkg5.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/pkg5.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/pkg5_publisher.py validate-modules:doc-missing-type
plugins/modules/packaging/os/pkg5_publisher.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/pkg5_publisher.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/pkgin.py validate-modules:doc-missing-type
plugins/modules/packaging/os/pkgin.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/pkgin.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/pkgin.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/pkgng.py validate-modules:doc-missing-type
plugins/modules/packaging/os/pkgng.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/pkgng.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/pkgng.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/pkgutil.py validate-modules:doc-missing-type
plugins/modules/packaging/os/portage.py validate-modules:doc-missing-type
plugins/modules/packaging/os/portage.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/portage.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/portinstall.py validate-modules:doc-missing-type
plugins/modules/packaging/os/portinstall.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/pulp_repo.py validate-modules:doc-default-does-not-match-spec
plugins/modules/packaging/os/pulp_repo.py validate-modules:doc-missing-type
plugins/modules/packaging/os/pulp_repo.py validate-modules:doc-required-mismatch
plugins/modules/packaging/os/pulp_repo.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/redhat_subscription.py validate-modules:doc-missing-type
plugins/modules/packaging/os/redhat_subscription.py validate-modules:mutually_exclusive-unknown plugins/modules/packaging/os/redhat_subscription.py validate-modules:mutually_exclusive-unknown
plugins/modules/packaging/os/redhat_subscription.py validate-modules:parameter-list-no-elements plugins/modules/packaging/os/redhat_subscription.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/redhat_subscription.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/redhat_subscription.py validate-modules:return-syntax-error plugins/modules/packaging/os/redhat_subscription.py validate-modules:return-syntax-error
plugins/modules/packaging/os/rhn_channel.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/rhn_channel.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/rhn_channel.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/rhn_channel.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/rhn_register.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/rhsm_release.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/rhsm_repository.py validate-modules:doc-default-does-not-match-spec
plugins/modules/packaging/os/rhsm_repository.py validate-modules:doc-missing-type
plugins/modules/packaging/os/rhsm_repository.py validate-modules:doc-required-mismatch
plugins/modules/packaging/os/rhsm_repository.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/rhsm_repository.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/slackpkg.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/slackpkg.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/slackpkg.py validate-modules:doc-default-does-not-match-spec
plugins/modules/packaging/os/slackpkg.py validate-modules:doc-missing-type
plugins/modules/packaging/os/slackpkg.py validate-modules:parameter-invalid plugins/modules/packaging/os/slackpkg.py validate-modules:parameter-invalid
plugins/modules/packaging/os/slackpkg.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/slackpkg.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/slackpkg.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/snap.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/snap.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/sorcery.py validate-modules:doc-missing-type
plugins/modules/packaging/os/sorcery.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/sorcery.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/svr4pkg.py validate-modules:doc-missing-type
plugins/modules/packaging/os/swdepot.py validate-modules:doc-missing-type
plugins/modules/packaging/os/swdepot.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/swupd.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/urpmi.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/urpmi.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/urpmi.py validate-modules:doc-default-does-not-match-spec
plugins/modules/packaging/os/urpmi.py validate-modules:parameter-invalid plugins/modules/packaging/os/urpmi.py validate-modules:parameter-invalid
plugins/modules/packaging/os/urpmi.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/urpmi.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/urpmi.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/xbps.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/xbps.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/xbps.py validate-modules:doc-missing-type
plugins/modules/packaging/os/xbps.py validate-modules:parameter-invalid plugins/modules/packaging/os/xbps.py validate-modules:parameter-invalid
plugins/modules/packaging/os/xbps.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/xbps.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/xbps.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/zypper.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/zypper.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/zypper.py validate-modules:doc-missing-type
plugins/modules/packaging/os/zypper.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/zypper.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/zypper_repository.py validate-modules:doc-missing-type
plugins/modules/packaging/os/zypper_repository.py validate-modules:parameter-type-not-in-doc
plugins/modules/remote_management/cobbler/cobbler_sync.py validate-modules:doc-required-mismatch plugins/modules/remote_management/cobbler/cobbler_sync.py validate-modules:doc-required-mismatch
plugins/modules/remote_management/cobbler/cobbler_sync.py validate-modules:parameter-type-not-in-doc plugins/modules/remote_management/cobbler/cobbler_sync.py validate-modules:parameter-type-not-in-doc
plugins/modules/remote_management/cobbler/cobbler_system.py validate-modules:doc-required-mismatch plugins/modules/remote_management/cobbler/cobbler_system.py validate-modules:doc-required-mismatch

View file

@ -1022,107 +1022,29 @@ plugins/modules/packaging/language/pip_package_info.py validate-modules:paramete
plugins/modules/packaging/language/yarn.py validate-modules:doc-missing-type plugins/modules/packaging/language/yarn.py validate-modules:doc-missing-type
plugins/modules/packaging/language/yarn.py validate-modules:parameter-type-not-in-doc plugins/modules/packaging/language/yarn.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/apk.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/apk.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/apk.py validate-modules:doc-missing-type
plugins/modules/packaging/os/apk.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/apk.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/apt_repo.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/apt_rpm.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/apt_rpm.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/apt_rpm.py validate-modules:doc-default-does-not-match-spec
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/apt_rpm.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid
plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid
plugins/modules/packaging/os/installp.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/layman.py validate-modules:doc-missing-type
plugins/modules/packaging/os/layman.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/macports.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/macports.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/macports.py validate-modules:doc-missing-type
plugins/modules/packaging/os/macports.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/openbsd_pkg.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/openbsd_pkg.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/openbsd_pkg.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/openbsd_pkg.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/opkg.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/opkg.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/opkg.py validate-modules:doc-default-does-not-match-spec plugins/modules/packaging/os/opkg.py validate-modules:doc-default-does-not-match-spec
plugins/modules/packaging/os/opkg.py validate-modules:doc-missing-type
plugins/modules/packaging/os/opkg.py validate-modules:parameter-invalid plugins/modules/packaging/os/opkg.py validate-modules:parameter-invalid
plugins/modules/packaging/os/opkg.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/pacman.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/pacman.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/pacman.py validate-modules:parameter-invalid plugins/modules/packaging/os/pacman.py validate-modules:parameter-invalid
plugins/modules/packaging/os/pacman.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/pkg5.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/pkg5.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/pkg5.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/pkg5.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/pkg5_publisher.py validate-modules:doc-missing-type
plugins/modules/packaging/os/pkg5_publisher.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/pkg5_publisher.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/pkgin.py validate-modules:doc-missing-type
plugins/modules/packaging/os/pkgin.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/pkgin.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/pkgin.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/pkgng.py validate-modules:doc-missing-type
plugins/modules/packaging/os/pkgng.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/pkgng.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/pkgng.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/pkgutil.py validate-modules:doc-missing-type
plugins/modules/packaging/os/portage.py validate-modules:doc-missing-type
plugins/modules/packaging/os/portage.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/portage.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/portinstall.py validate-modules:doc-missing-type
plugins/modules/packaging/os/portinstall.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/pulp_repo.py validate-modules:doc-default-does-not-match-spec
plugins/modules/packaging/os/pulp_repo.py validate-modules:doc-missing-type
plugins/modules/packaging/os/pulp_repo.py validate-modules:doc-required-mismatch
plugins/modules/packaging/os/pulp_repo.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/redhat_subscription.py validate-modules:doc-missing-type
plugins/modules/packaging/os/redhat_subscription.py validate-modules:mutually_exclusive-unknown plugins/modules/packaging/os/redhat_subscription.py validate-modules:mutually_exclusive-unknown
plugins/modules/packaging/os/redhat_subscription.py validate-modules:parameter-list-no-elements plugins/modules/packaging/os/redhat_subscription.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/redhat_subscription.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/redhat_subscription.py validate-modules:return-syntax-error plugins/modules/packaging/os/redhat_subscription.py validate-modules:return-syntax-error
plugins/modules/packaging/os/rhn_channel.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/rhn_channel.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/rhn_channel.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/rhn_channel.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/rhn_register.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/rhsm_release.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/rhsm_repository.py validate-modules:doc-default-does-not-match-spec
plugins/modules/packaging/os/rhsm_repository.py validate-modules:doc-missing-type
plugins/modules/packaging/os/rhsm_repository.py validate-modules:doc-required-mismatch
plugins/modules/packaging/os/rhsm_repository.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/rhsm_repository.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/slackpkg.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/slackpkg.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/slackpkg.py validate-modules:doc-default-does-not-match-spec
plugins/modules/packaging/os/slackpkg.py validate-modules:doc-missing-type
plugins/modules/packaging/os/slackpkg.py validate-modules:parameter-invalid plugins/modules/packaging/os/slackpkg.py validate-modules:parameter-invalid
plugins/modules/packaging/os/slackpkg.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/slackpkg.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/slackpkg.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/snap.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/snap.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/sorcery.py validate-modules:doc-missing-type
plugins/modules/packaging/os/sorcery.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/sorcery.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/svr4pkg.py validate-modules:doc-missing-type
plugins/modules/packaging/os/swdepot.py validate-modules:doc-missing-type
plugins/modules/packaging/os/swdepot.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/swupd.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/urpmi.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/urpmi.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/urpmi.py validate-modules:doc-default-does-not-match-spec
plugins/modules/packaging/os/urpmi.py validate-modules:parameter-invalid plugins/modules/packaging/os/urpmi.py validate-modules:parameter-invalid
plugins/modules/packaging/os/urpmi.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/urpmi.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/urpmi.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/xbps.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/xbps.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/xbps.py validate-modules:doc-missing-type
plugins/modules/packaging/os/xbps.py validate-modules:parameter-invalid plugins/modules/packaging/os/xbps.py validate-modules:parameter-invalid
plugins/modules/packaging/os/xbps.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/xbps.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/xbps.py validate-modules:undocumented-parameter
plugins/modules/packaging/os/zypper.py validate-modules:doc-choices-do-not-match-spec plugins/modules/packaging/os/zypper.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/packaging/os/zypper.py validate-modules:doc-missing-type
plugins/modules/packaging/os/zypper.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/zypper.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/zypper_repository.py validate-modules:doc-missing-type
plugins/modules/packaging/os/zypper_repository.py validate-modules:parameter-type-not-in-doc
plugins/modules/remote_management/cobbler/cobbler_sync.py validate-modules:doc-required-mismatch plugins/modules/remote_management/cobbler/cobbler_sync.py validate-modules:doc-required-mismatch
plugins/modules/remote_management/cobbler/cobbler_sync.py validate-modules:parameter-type-not-in-doc plugins/modules/remote_management/cobbler/cobbler_sync.py validate-modules:parameter-type-not-in-doc
plugins/modules/remote_management/cobbler/cobbler_system.py validate-modules:doc-required-mismatch plugins/modules/remote_management/cobbler/cobbler_system.py validate-modules:doc-required-mismatch