diff --git a/changelogs/fragments/568_packaging.yml b/changelogs/fragments/568_packaging.yml new file mode 100644 index 0000000000..ab0fa9778e --- /dev/null +++ b/changelogs/fragments/568_packaging.yml @@ -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). diff --git a/plugins/modules/packaging/os/apk.py b/plugins/modules/packaging/os/apk.py index 2844892246..4d0e191920 100644 --- a/plugins/modules/packaging/os/apk.py +++ b/plugins/modules/packaging/os/apk.py @@ -24,7 +24,7 @@ options: - 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. type: bool - default: 'no' + default: no name: description: - A package name, like C(foo), or multiple packages, like C(foo, bar). @@ -34,12 +34,14 @@ options: description: - Do not use any local cache path. type: bool - default: 'no' + default: no version_added: 1.0.0 repository: description: - A package repository or multiple repositories. Unlike with the underlying apk command, this list will override the system repositories rather than supplement them. + type: list + elements: str state: description: - 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). default: present choices: [ "present", "absent", "latest" ] + type: str update_cache: description: - Update repository indexes. Can be run with other steps or on it's own. type: bool - default: 'no' + default: no upgrade: description: - Upgrade all installed packages to their latest version. type: bool - default: 'no' + default: no notes: - '"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. @@ -306,7 +309,7 @@ def main(): state=dict(default='present', choices=['present', 'installed', 'absent', 'removed', 'latest']), name=dict(type='list', elements='str'), no_cache=dict(default=False, type='bool'), - repository=dict(type='list'), + repository=dict(type='list', elements='str'), update_cache=dict(default=False, type='bool'), upgrade=dict(default=False, type='bool'), available=dict(default=False, type='bool'), diff --git a/plugins/modules/packaging/os/apt_repo.py b/plugins/modules/packaging/os/apt_repo.py index e8a9ec952c..53110b483c 100644 --- a/plugins/modules/packaging/os/apt_repo.py +++ b/plugins/modules/packaging/os/apt_repo.py @@ -23,22 +23,24 @@ options: description: - Name of the repository to add or remove. required: true + type: str state: description: - Indicates the desired repository state. choices: [ absent, present ] default: present + type: str remove_others: description: - Remove other then added repositories - Used if I(state=present) type: bool - default: 'no' + default: no update: description: - Update the package database after changing repositories. type: bool - default: 'no' + default: no author: - Mikhail Gordeev (@obirvalger) ''' diff --git a/plugins/modules/packaging/os/apt_rpm.py b/plugins/modules/packaging/os/apt_rpm.py index e5156605fe..c7e6ddf133 100644 --- a/plugins/modules/packaging/os/apt_rpm.py +++ b/plugins/modules/packaging/os/apt_rpm.py @@ -29,11 +29,13 @@ options: - Indicates the desired package state. choices: [ absent, present ] default: present + type: str update_cache: description: - update the package database first C(apt-get update). + aliases: [ 'update-cache' ] type: bool - default: 'no' + default: no author: - Evgenii Terechkov (@evgkrsk) ''' @@ -154,7 +156,7 @@ def install_packages(module, pkgspec): def main(): module = AnsibleModule( 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']), package=dict(type='list', elements='str', required=True, aliases=['name', 'pkg']), ), diff --git a/plugins/modules/packaging/os/homebrew.py b/plugins/modules/packaging/os/homebrew.py index 89c4ea55bd..8549312e78 100644 --- a/plugins/modules/packaging/os/homebrew.py +++ b/plugins/modules/packaging/os/homebrew.py @@ -50,13 +50,13 @@ options: description: - update homebrew itself first. type: bool - default: 'no' + default: no aliases: ['update-brew'] upgrade_all: description: - upgrade all homebrew packages. type: bool - default: 'no' + default: no aliases: ['upgrade'] install_options: description: diff --git a/plugins/modules/packaging/os/installp.py b/plugins/modules/packaging/os/installp.py index fbdd3475f2..14982c4445 100644 --- a/plugins/modules/packaging/os/installp.py +++ b/plugins/modules/packaging/os/installp.py @@ -26,6 +26,7 @@ options: - One or more packages to install or remove. - Use C(all) to install all packages available on informed C(repository_path). type: list + elements: str required: true aliases: [ pkg ] repository_path: @@ -257,7 +258,7 @@ def install(module, installp_cmd, packages, repository_path, accept_license): def main(): module = AnsibleModule( 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'), accept_license=dict(type='bool', default=False), state=dict(type='str', default='present', choices=['absent', 'present']), diff --git a/plugins/modules/packaging/os/layman.py b/plugins/modules/packaging/os/layman.py index bbeb53683f..bc52c0027c 100644 --- a/plugins/modules/packaging/os/layman.py +++ b/plugins/modules/packaging/os/layman.py @@ -26,23 +26,27 @@ options: - 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)). required: true + type: str list_url: description: - 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 C(overlay_defs) is readed from the Layman's configuration. + aliases: [url] + type: str state: description: - Whether to install (C(present)), sync (C(updated)), or uninstall (C(absent)) the overlay. default: present choices: [present, absent, updated] + type: str validate_certs: description: - 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 defaulted to C(no). type: bool - default: 'yes' + default: yes ''' EXAMPLES = ''' diff --git a/plugins/modules/packaging/os/macports.py b/plugins/modules/packaging/os/macports.py index c174168eec..00a4baf13d 100644 --- a/plugins/modules/packaging/os/macports.py +++ b/plugins/modules/packaging/os/macports.py @@ -37,6 +37,7 @@ options: - Indicates the desired state of the port. choices: [ 'present', 'absent', 'active', 'inactive' ] default: present + type: str upgrade: description: - Upgrade all outdated ports, either prior to installing ports or as a separate step. @@ -48,6 +49,7 @@ options: - A port variant specification. - 'C(variant) is only supported with state: I(installed)/I(present).' aliases: ['variants'] + type: str ''' EXAMPLES = ''' - name: Install the foo port diff --git a/plugins/modules/packaging/os/openbsd_pkg.py b/plugins/modules/packaging/os/openbsd_pkg.py index 69f2f6a3f5..1f71cb3c17 100644 --- a/plugins/modules/packaging/os/openbsd_pkg.py +++ b/plugins/modules/packaging/os/openbsd_pkg.py @@ -24,6 +24,8 @@ options: description: - A name or a list of names of the packages. required: yes + type: list + elements: str state: description: - 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. choices: [ absent, latest, present ] default: present + type: str build: description: - 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 not already installed. type: bool - default: 'no' + default: no ports_dir: description: - When used in combination with the C(build) option, allows overriding the default ports source directory. default: /usr/ports + type: path clean: description: - When updating or removing packages, delete the extra configuration file(s) in the old packages which are annotated with @extra in the packaging-list. type: bool - default: 'no' + default: no quick: description: - Replace or delete packages quickly; do not bother with checksums before removing normal files. type: bool - default: 'no' + default: no notes: - 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. @@ -513,7 +517,7 @@ def upgrade_packages(pkg_spec, module): def main(): module = AnsibleModule( 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']), build=dict(type='bool', default=False), ports_dir=dict(type='path', default='/usr/ports'), diff --git a/plugins/modules/packaging/os/opkg.py b/plugins/modules/packaging/os/opkg.py index 06cc4039ff..ff3ba5fa9a 100644 --- a/plugins/modules/packaging/os/opkg.py +++ b/plugins/modules/packaging/os/opkg.py @@ -21,12 +21,15 @@ options: name: description: - name of package to install/remove + aliases: [pkg] required: true + type: str state: description: - state of the package choices: [ 'present', 'absent' ] default: present + type: str force: description: - opkg --force parameter used @@ -43,9 +46,11 @@ options: - "checksum" - "removal-of-dependent-packages" default: absent + type: str update_cache: description: - update the package db first + aliases: ['update-cache'] default: "no" type: bool requirements: diff --git a/plugins/modules/packaging/os/pacman.py b/plugins/modules/packaging/os/pacman.py index 72d4c65273..e8f503dbd3 100644 --- a/plugins/modules/packaging/os/pacman.py +++ b/plugins/modules/packaging/os/pacman.py @@ -33,6 +33,7 @@ options: - Desired state of the package. default: present choices: [ absent, latest, present ] + type: str force: description: @@ -47,6 +48,7 @@ options: description: - Additional option to pass to pacman when enforcing C(state). default: + type: str update_cache: description: @@ -60,6 +62,7 @@ options: description: - Additional option to pass to pacman when enforcing C(update_cache). default: + type: str upgrade: description: @@ -72,6 +75,7 @@ options: description: - Additional option to pass to pacman when enforcing C(upgrade). default: + type: str notes: - When used with a `loop:` each package will be processed individually, diff --git a/plugins/modules/packaging/os/pkg5.py b/plugins/modules/packaging/os/pkg5.py index 94ea674195..3f05291994 100644 --- a/plugins/modules/packaging/os/pkg5.py +++ b/plugins/modules/packaging/os/pkg5.py @@ -23,11 +23,14 @@ options: - An FRMI of the package(s) to be installed/removed/updated. - Multiple packages may be specified, separated by C(,). required: true + type: list + elements: str state: description: - Whether to install (I(present), I(latest)), or remove (I(absent)) a package. choices: [ absent, latest, present ] default: present + type: str accept_licenses: description: - Accept any licences. @@ -74,7 +77,7 @@ from ansible.module_utils.basic import AnsibleModule def main(): module = AnsibleModule( 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']), accept_licenses=dict(type='bool', default=False, aliases=['accept', 'accept_licences']), be_name=dict(type='str'), diff --git a/plugins/modules/packaging/os/pkg5_publisher.py b/plugins/modules/packaging/os/pkg5_publisher.py index 082e2e2051..01af4bb61a 100644 --- a/plugins/modules/packaging/os/pkg5_publisher.py +++ b/plugins/modules/packaging/os/pkg5_publisher.py @@ -24,11 +24,13 @@ options: - The publisher's name. required: true aliases: [ publisher ] + type: str state: description: - Whether to ensure that a publisher is present or absent. default: present choices: [ present, absent ] + type: str sticky: description: - Packages installed from a sticky repository can only receive updates @@ -42,10 +44,14 @@ options: description: - A path or URL to the repository. - Multiple values may be provided. + type: list + elements: str mirror: description: - A path or URL to the repository mirror. - Multiple values may be provided. + type: list + elements: str ''' EXAMPLES = ''' - name: Fetch packages for the solaris publisher direct from Oracle @@ -72,8 +78,8 @@ def main(): enabled=dict(type='bool'), # search_after=dict(), # search_before=dict(), - origin=dict(type='list'), - mirror=dict(type='list'), + origin=dict(type='list', elements='str'), + mirror=dict(type='list', elements='str'), ) ) diff --git a/plugins/modules/packaging/os/pkgin.py b/plugins/modules/packaging/os/pkgin.py index 5f5424106c..25ae1ef42a 100644 --- a/plugins/modules/packaging/os/pkgin.py +++ b/plugins/modules/packaging/os/pkgin.py @@ -35,36 +35,40 @@ options: description: - Name of package to install/remove; - multiple names may be given, separated by commas + aliases: [pkg] + type: list + elements: str state: description: - Intended state of the package choices: [ 'present', 'absent' ] default: present + type: str update_cache: description: - Update repository database. Can be run with other steps or on it's own. type: bool - default: 'no' + default: no upgrade: description: - Upgrade main packages to their newer versions type: bool - default: 'no' + default: no full_upgrade: description: - Upgrade all packages to their newer versions type: bool - default: 'no' + default: no clean: description: - Clean packages cache type: bool - default: 'no' + default: no force: description: - Force package reinstall type: bool - default: 'no' + default: no ''' EXAMPLES = ''' @@ -321,7 +325,7 @@ def main(): module = AnsibleModule( argument_spec=dict( 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'), upgrade=dict(default=False, type='bool'), full_upgrade=dict(default=False, type='bool'), diff --git a/plugins/modules/packaging/os/pkgng.py b/plugins/modules/packaging/os/pkgng.py index 048dd3effd..f6321fff80 100644 --- a/plugins/modules/packaging/os/pkgng.py +++ b/plugins/modules/packaging/os/pkgng.py @@ -24,6 +24,9 @@ options: description: - Name or list of names of packages to install/remove. required: true + aliases: [pkg] + type: list + elements: str state: description: - State of the package. @@ -31,6 +34,7 @@ options: choices: [ 'present', 'latest', 'absent' ] required: false default: present + type: str cached: description: - Use local package base instead of fetching an updated one. @@ -45,6 +49,7 @@ options: annotation. If setting or modifying annotations, a value must be provided. required: false + type: str pkgsite: description: - 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 configured in C(/usr/local/etc/pkg/repos). required: false + type: str rootdir: description: - For pkgng versions 1.5 and later, pkg will install all packages within the specified root directory. - Can not be used together with I(chroot) or I(jail) options. required: false + type: path chroot: description: - Pkg will chroot in the specified environment. - Can not be used together with I(rootdir) or I(jail) options. required: false + type: path jail: description: - Pkg will execute in the given jail name or id. - Can not be used together with I(chroot) or I(rootdir) options. + type: str autoremove: description: - Remove automatically installed packages which are no longer needed. @@ -346,7 +355,7 @@ def main(): module = AnsibleModule( argument_spec=dict( 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'), annotation=dict(default="", required=False), pkgsite=dict(default="", required=False), diff --git a/plugins/modules/packaging/os/pkgutil.py b/plugins/modules/packaging/os/pkgutil.py index d45d915508..bc5f7703a2 100644 --- a/plugins/modules/packaging/os/pkgutil.py +++ b/plugins/modules/packaging/os/pkgutil.py @@ -27,11 +27,13 @@ options: description: - Package name, e.g. (C(CSWnrpe)) required: true + type: str site: description: - Specifies the repository path to install the package from. - Its global definition is done in C(/etc/opt/csw/pkgutil.conf). required: false + type: str state: description: - 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." required: true choices: ["present", "absent", "latest"] + type: str update_catalog: description: - If you want to refresh your catalog from the mirror, set this to (C(yes)). required: false - default: False + default: no type: bool ''' diff --git a/plugins/modules/packaging/os/portage.py b/plugins/modules/packaging/os/portage.py index 892305e249..8ae8abe3ec 100644 --- a/plugins/modules/packaging/os/portage.py +++ b/plugins/modules/packaging/os/portage.py @@ -24,6 +24,7 @@ options: package: description: - Package atom or set, e.g. C(sys-apps/foo) or C(>foo-2.13) or C(@world) + aliases: [name] type: list elements: str @@ -32,24 +33,25 @@ options: - State of the package atom default: "present" choices: [ "present", "installed", "emerged", "absent", "removed", "unmerged", "latest" ] + type: str update: description: - Update packages to the best version available (--update) type: bool - default: 'no' + default: no deep: description: - Consider the entire dependency tree of packages (--deep) type: bool - default: 'no' + default: no newuse: description: - Include installed packages where USE flags have changed (--newuse) type: bool - default: 'no' + default: no changed_use: description: @@ -57,31 +59,31 @@ options: - flags that the user has not enabled are added or removed - (--changed-use) type: bool - default: 'no' + default: no oneshot: description: - Do not add the packages to the world file (--oneshot) type: bool - default: 'no' + default: no noreplace: description: - Do not re-emerge installed packages (--noreplace) type: bool - default: 'yes' + default: yes nodeps: description: - Only merge packages but not their dependencies (--nodeps) type: bool - default: 'no' + default: no onlydeps: description: - Only merge packages' dependencies but not the packages (--onlydeps) type: bool - default: 'no' + default: no depclean: description: @@ -89,19 +91,19 @@ options: - If no package is specified, clean up the world's dependencies - Otherwise, --depclean serves as a dependency aware version of --unmerge type: bool - default: 'no' + default: no quiet: description: - Run emerge in quiet mode (--quiet) type: bool - default: 'no' + default: no verbose: description: - Run emerge in verbose mode (--verbose) type: bool - default: 'no' + default: no sync: description: @@ -109,30 +111,38 @@ options: - If yes, perform "emerge --sync" - If web, perform "emerge-webrsync" choices: [ "web", "yes", "no" ] + type: str getbinpkg: description: - Prefer packages specified at PORTAGE_BINHOST in make.conf type: bool - default: 'no' + default: no usepkgonly: description: - Merge only binaries (no compiling). This sets getbinpkg=yes. 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: description: - Continue as much as possible after an error. type: bool - default: 'no' + default: no jobs: description: - Specifies the number of packages to build simultaneously. - "Since version 2.6: Value of 0 or False resets any previously added" - --jobs setting values + type: int loadavg: description: @@ -140,13 +150,14 @@ options: - other builds running and the load average is at least LOAD - "Since version 2.6: Value of 0 or False resets any previously added" - --load-average setting values + type: float quietbuild: description: - Redirect all build output to logs alone, and do not display it - on stdout (--quiet-build) type: bool - default: 'no' + default: no quietfail: description: @@ -154,7 +165,7 @@ options: - Only the die message and the path of the build log will be - displayed on stdout. type: bool - default: 'no' + default: no requirements: [ gentoolkit ] author: diff --git a/plugins/modules/packaging/os/portinstall.py b/plugins/modules/packaging/os/portinstall.py index fa19bbca51..7a7b941009 100644 --- a/plugins/modules/packaging/os/portinstall.py +++ b/plugins/modules/packaging/os/portinstall.py @@ -21,13 +21,16 @@ options: name: description: - name of package to install/remove + aliases: [pkg] required: true + type: str state: description: - state of the package choices: [ 'present', 'absent' ] required: false default: present + type: str use_packages: description: - use packages instead of ports whenever available diff --git a/plugins/modules/packaging/os/pulp_repo.py b/plugins/modules/packaging/os/pulp_repo.py index 30a2f1deb4..5b9f4eb3c2 100644 --- a/plugins/modules/packaging/os/pulp_repo.py +++ b/plugins/modules/packaging/os/pulp_repo.py @@ -21,10 +21,11 @@ options: description: - Whether or not to add the export distributor to new C(rpm) repositories. type: bool - default: 'no' + default: no feed: description: - Upstream feed URL to receive updates from. + type: str force_basic_auth: description: - 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 the Basic authentication header upon initial request. type: bool - default: 'no' + default: no generate_sqlite: description: - Boolean flag to indicate whether sqlite files should be generated during a repository publish. required: false type: bool - default: 'no' + default: no feed_ca_cert: description: - CA certificate string used to validate the feed source SSL certificate. @@ -73,60 +74,69 @@ options: description: - Name of the repo to add or remove. This correlates to repo-id in Pulp. required: true + type: str + aliases: [ repo ] proxy_host: description: - Proxy url setting for the pulp repository importer. This is in the format scheme://host. required: false default: null + type: str proxy_port: description: - Proxy port setting for the pulp repository importer. required: false default: null + type: str proxy_username: description: - Proxy username for the pulp repository importer. required: false default: null + type: str proxy_password: description: - Proxy password for the pulp repository importer. required: false default: null + type: str publish_distributor: description: - Distributor to use when state is C(publish). The default is to publish all distributors. + type: str pulp_host: description: - URL of the pulp server to connect to. - default: http://127.0.0.1 + default: https://127.0.0.1 + type: str relative_url: description: - - Relative URL for the local repository. - required: true + - Relative URL for the local repository. It's required when state=present. + type: str repo_type: description: - Repo plugin type to use (i.e. C(rpm), C(docker)). default: rpm + type: str repoview: description: - Whether to generate repoview files for a published repository. Setting this to "yes" automatically activates `generate_sqlite`. required: false type: bool - default: 'no' + default: no serve_http: description: - Make the repo available over HTTP. type: bool - default: 'no' + default: no serve_https: description: - Make the repo available over HTTPS. type: bool - default: 'yes' + default: yes state: description: - 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. default: present choices: [ "present", "absent", "sync", "publish" ] + type: str url_password: description: - 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 used on personally controlled sites using self-signed certificates. type: bool - default: 'yes' + default: yes wait_for_completion: description: - Wait for asynchronous tasks to complete before returning. type: bool - default: 'no' + default: no notes: - This module can currently only create distributors and importers on rpm repositories. Contributions to support other repo types are welcome. diff --git a/plugins/modules/packaging/os/redhat_subscription.py b/plugins/modules/packaging/os/redhat_subscription.py index 9d2bafdc43..102e67935e 100644 --- a/plugins/modules/packaging/os/redhat_subscription.py +++ b/plugins/modules/packaging/os/redhat_subscription.py @@ -29,58 +29,73 @@ options: - whether to register and subscribe (C(present)), or unregister (C(absent)) a system choices: [ "present", "absent" ] default: "present" + type: str username: description: - access.redhat.com or Sat6 username + type: str password: description: - access.redhat.com or Sat6 password + type: str server_hostname: description: - Specify an alternative Red Hat Subscription Management or Sat6 server + type: str server_insecure: description: - Enable or disable https server certificate verification when connecting to C(server_hostname) + type: str rhsm_baseurl: description: - Specify CDN baseurl + type: str rhsm_repo_ca_cert: description: - Specify an alternative location for a CA certificate for CDN + type: str server_proxy_hostname: description: - Specify a HTTP proxy hostname + type: str server_proxy_port: description: - Specify a HTTP proxy port + type: str server_proxy_user: description: - Specify a user for HTTP proxy with basic authentication + type: str server_proxy_password: description: - Specify a password for HTTP proxy with basic authentication + type: str auto_attach: description: - Upon successful registration, auto-consume available subscriptions - Added in favor of deprecated autosubscribe in 2.5. type: bool - default: 'no' + default: no aliases: [autosubscribe] activationkey: description: - supply an activation key for use with registration + type: str org_id: description: - Organization ID to use in conjunction with activationkey + type: str environment: description: - Register with a specific environment in the destination org. Used with Red Hat Satellite 6.x or Katello + type: str pool: description: - | 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). default: '^$' + type: str pool_ids: description: - | @@ -90,12 +105,15 @@ options: 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). default: [] + type: list consumer_type: description: - The type of unit to register, defaults to system + type: str consumer_name: description: - Name of the system to register, defaults to the hostname + type: str consumer_id: description: - | @@ -103,14 +121,16 @@ options: 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. The default is to not specify a consumer ID so a new ID is created. + type: str force_register: description: - Register the system even if it is already registered type: bool - default: 'no' + default: no release: description: - Set a release version + type: str syspurpose: description: - Set syspurpose attributes in file C(/etc/rhsm/syspurpose/syspurpose.json) @@ -124,10 +144,13 @@ options: suboptions: usage: description: Syspurpose attribute usage + type: str role: description: Syspurpose attribute role + type: str service_level_agreement: description: Syspurpose attribute service_level_agreement + type: str addons: description: Syspurpose attribute addons type: list @@ -137,7 +160,7 @@ options: RHSM server immediately. When this option is false, then syspurpose attributes will be synchronized with RHSM server by rhsmcertd daemon. type: bool - default: False + default: no ''' EXAMPLES = ''' diff --git a/plugins/modules/packaging/os/rhn_channel.py b/plugins/modules/packaging/os/rhn_channel.py index 3eb1b33412..663374ade4 100644 --- a/plugins/modules/packaging/os/rhn_channel.py +++ b/plugins/modules/packaging/os/rhn_channel.py @@ -22,26 +22,33 @@ options: description: - Name of the software channel. required: true + type: str sysname: description: - Name of the system as it is known in RHN/Satellite. required: true + type: str state: description: - Whether the channel should be present or not, taking action if the state is different from what is stated. default: present + type: str url: description: - The full URL to the RHN/Satellite API. required: true + type: str user: description: - RHN/Satellite login. required: true + type: str password: description: - RHN/Satellite password. + aliases: [pwd] required: true + type: str validate_certs: description: - If C(False), SSL certificates will not be validated. diff --git a/plugins/modules/packaging/os/rhn_register.py b/plugins/modules/packaging/os/rhn_register.py index c89525a22d..adba9ca9d9 100644 --- a/plugins/modules/packaging/os/rhn_register.py +++ b/plugins/modules/packaging/os/rhn_register.py @@ -62,6 +62,7 @@ options: description: - Optionally specify a list of channels to subscribe to upon successful registration. type: list + elements: str default: [] enable_eus: description: @@ -346,7 +347,7 @@ def main(): systemorgid=dict(type='str'), enable_eus=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 # (basically anything that uses self.api requires username/password) but it doesn't diff --git a/plugins/modules/packaging/os/rhsm_release.py b/plugins/modules/packaging/os/rhsm_release.py index f57023e41e..01cb481269 100644 --- a/plugins/modules/packaging/os/rhsm_release.py +++ b/plugins/modules/packaging/os/rhsm_release.py @@ -23,6 +23,7 @@ options: description: - RHSM release version to use (use null to unset) required: true + type: str author: - Sean Myers (@seandst) ''' diff --git a/plugins/modules/packaging/os/rhsm_repository.py b/plugins/modules/packaging/os/rhsm_repository.py index 505c6c94b6..f9452f8074 100644 --- a/plugins/modules/packaging/os/rhsm_repository.py +++ b/plugins/modules/packaging/os/rhsm_repository.py @@ -26,21 +26,23 @@ options: - If state is equal to present or disabled, indicates the desired repository state. choices: [present, enabled, absent, disabled] - required: True - default: "present" + default: "enabled" + type: str name: description: - The ID of repositories to enable. - To operate on several repositories this can accept a comma separated list or a YAML list. required: True + type: list + elements: str purge: description: - 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. Using this with C(loop) will most likely not have the desired result. type: bool - default: False + default: no ''' EXAMPLES = ''' @@ -226,7 +228,7 @@ def repository_modify(module, state, name, purge=False): def main(): module = AnsibleModule( 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'), purge=dict(type='bool', default=False), ), diff --git a/plugins/modules/packaging/os/slackpkg.py b/plugins/modules/packaging/os/slackpkg.py index ae6e136ae0..50cfd47360 100644 --- a/plugins/modules/packaging/os/slackpkg.py +++ b/plugins/modules/packaging/os/slackpkg.py @@ -26,6 +26,9 @@ options: description: - name of package to install/remove required: true + type: list + elements: str + aliases: [pkg] state: description: @@ -33,6 +36,7 @@ options: choices: [ 'present', 'absent', 'latest' ] required: false default: present + type: str update_cache: description: @@ -40,6 +44,7 @@ options: required: false default: false type: bool + aliases: [update-cache] author: Kim Nørgaard (@KimNorgaard) requirements: [ "Slackware >= 12.2" ] @@ -170,8 +175,8 @@ def update_cache(module, slackpkg_path): def main(): module = AnsibleModule( argument_spec=dict( - state=dict(default="installed", choices=['installed', 'removed', 'absent', 'present', 'latest']), - name=dict(aliases=["pkg"], required=True, type='list'), + state=dict(default="present", choices=['installed', 'removed', 'absent', 'present', 'latest']), + name=dict(aliases=["pkg"], required=True, type='list', elements='str'), update_cache=dict(default=False, aliases=["update-cache"], type='bool'), ), diff --git a/plugins/modules/packaging/os/snap.py b/plugins/modules/packaging/os/snap.py index 60198db110..406977408c 100644 --- a/plugins/modules/packaging/os/snap.py +++ b/plugins/modules/packaging/os/snap.py @@ -24,12 +24,15 @@ options: description: - Name of the snap to install or remove. Can be a list of snaps. required: true + type: list + elements: str state: description: - Desired state of the package. required: false default: present choices: [ absent, present ] + type: str classic: description: - 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. type: bool required: false - default: False + default: no channel: description: - Define which release of a snap is installed and tracked for updates. @@ -233,7 +236,7 @@ def execute_action(module): def main(): 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']), 'classic': dict(type='bool', required=False, default=False), 'channel': dict(type='str', required=False, default='stable'), diff --git a/plugins/modules/packaging/os/sorcery.py b/plugins/modules/packaging/os/sorcery.py index fec5a4b432..2e03eb240d 100644 --- a/plugins/modules/packaging/os/sorcery.py +++ b/plugins/modules/packaging/os/sorcery.py @@ -31,6 +31,8 @@ options: - special value '*' in conjunction with states C(latest) or C(rebuild) will update or rebuild the whole system respectively aliases: ["spell"] + type: list + elements: str state: description: @@ -41,6 +43,7 @@ options: those existed before choices: ["present", "latest", "absent", "cast", "dispelled", "rebuild"] default: "present" + type: str depends: description: @@ -51,18 +54,19 @@ options: contains more than one spell - providers must be supplied in the form recognized by Sorcery, e.g. 'openssl(SSL)' + type: str update: description: - Whether or not to update sorcery scripts at the very first stage type: bool - default: 'no' + default: no update_cache: description: - Whether or not to update grimoire collection before casting spells type: bool - default: 'no' + default: no aliases: ["update_codex"] cache_valid_time: @@ -70,6 +74,7 @@ options: - Time in seconds to invalidate grimoire collection on update - especially useful for SCM and rsync grimoires - makes sense only in pair with C(update_cache) + type: int ''' @@ -593,7 +598,7 @@ def manage_spells(module): def main(): module = AnsibleModule( 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', 'absent', 'cast', 'dispelled', 'rebuild']), depends=dict(default=None), diff --git a/plugins/modules/packaging/os/svr4pkg.py b/plugins/modules/packaging/os/svr4pkg.py index b19c023f15..9bb35866e7 100644 --- a/plugins/modules/packaging/os/svr4pkg.py +++ b/plugins/modules/packaging/os/svr4pkg.py @@ -25,6 +25,7 @@ options: description: - Package name, e.g. C(SUNWcsr) required: true + type: str state: 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. required: true choices: ["present", "absent"] + type: str src: description: - 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)." - 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: description: - HTTP[s] proxy to be used if C(src) is a URL. + type: str response_file: description: - Specifies the location of a response file to be used if package expects input on install. (added in Ansible 1.4) required: false + type: str zone: description: - Whether to install the package only in the current zone, or install it into all zones. @@ -53,6 +58,7 @@ options: required: false default: "all" choices: ["current", "all"] + type: str category: description: - Install/Remove category instead of a single package. diff --git a/plugins/modules/packaging/os/swdepot.py b/plugins/modules/packaging/os/swdepot.py index 3ecb26351a..1af3fcf6ec 100644 --- a/plugins/modules/packaging/os/swdepot.py +++ b/plugins/modules/packaging/os/swdepot.py @@ -23,15 +23,19 @@ options: name: description: - package name. + aliases: [pkg] required: true + type: str state: description: - whether to install (C(present), C(latest)), or remove (C(absent)) a package. required: true choices: [ 'present', 'latest', 'absent'] + type: str depot: description: - The source repository from which install or upgrade a package. + type: str ''' EXAMPLES = ''' diff --git a/plugins/modules/packaging/os/swupd.py b/plugins/modules/packaging/os/swupd.py index 8b4a10fac3..f0412e5f5c 100644 --- a/plugins/modules/packaging/os/swupd.py +++ b/plugins/modules/packaging/os/swupd.py @@ -21,26 +21,31 @@ options: description: - URL pointing to the contents of available bundles. If not specified, the contents are retrieved from clearlinux.org. + type: str format: description: - The format suffix for version file downloads. For example [1,2,3,staging,etc]. If not specified, the default format is used. + type: str manifest: description: - 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 verify against the current version. aliases: [release, version] + type: int name: description: - Name of the (I)bundle to install or remove. aliases: [bundle] + type: str state: description: - Indicates the desired (I)bundle state. C(present) ensures the bundle is installed while C(absent) ensures the (I)bundle is not installed. default: present choices: [present, absent] + type: str update: description: - Updates the OS to the latest version. @@ -48,6 +53,7 @@ options: url: description: - Overrides both I(contenturl) and I(versionurl). + type: str verify: description: - Verify content for OS version. @@ -55,6 +61,7 @@ options: versionurl: description: - URL for version string download. + type: str ''' EXAMPLES = ''' diff --git a/plugins/modules/packaging/os/urpmi.py b/plugins/modules/packaging/os/urpmi.py index 0501e48158..1b6b88e55b 100644 --- a/plugins/modules/packaging/os/urpmi.py +++ b/plugins/modules/packaging/os/urpmi.py @@ -22,34 +22,38 @@ options: - A list of package names to install, upgrade or remove. required: yes aliases: [ package, pkg ] + type: list + elements: str state: description: - Indicates the desired package state. choices: [ absent, present ] default: present + type: str update_cache: description: - Update the package database first C(urpmi.update -a). type: bool - default: 'no' + default: no + aliases: ['update-cache'] no-recommends: description: - Corresponds to the C(--no-recommends) option for I(urpmi). type: bool - default: 'yes' - aliases: ['no-recommends'] + default: yes + aliases: ['no_recommends'] force: description: - Assume "yes" is the answer to any question urpmi has to ask. Corresponds to the C(--force) option for I(urpmi). type: bool - default: 'yes' + default: yes root: description: - Specifies an alternative install root, relative to which all packages will be installed. Corresponds to the C(--root) option for I(urpmi). - default: / aliases: [ installroot ] + type: str author: - Philippe Makowski (@pmakowski) ''' @@ -189,12 +193,12 @@ def root_option(root): def main(): module = AnsibleModule( argument_spec=dict( - state=dict(type='str', default='installed', + state=dict(type='str', default='present', choices=['absent', 'installed', 'present', 'removed']), update_cache=dict(type='bool', default=False, aliases=['update-cache']), force=dict(type='bool', default=True), 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']), ), ) diff --git a/plugins/modules/packaging/os/xbps.py b/plugins/modules/packaging/os/xbps.py index 8ed4b9d208..17bf8e8c3f 100644 --- a/plugins/modules/packaging/os/xbps.py +++ b/plugins/modules/packaging/os/xbps.py @@ -22,29 +22,34 @@ options: name: description: - Name of the package to install, upgrade, or remove. + aliases: [pkg,package] + type: list + elements: str state: description: - Desired state of the package. default: "present" choices: ["present", "absent", "latest"] + type: str recurse: description: - When removing a package, also remove its dependencies, provided that they are not required by other packages and were not explicitly installed by a user. type: bool - default: 'no' + default: no update_cache: description: - Whether or not to refresh the master package lists. This can be run as part of a package installation or as a separate step. + aliases: ['update-cache'] type: bool - default: 'yes' + default: yes upgrade: description: - Whether or not to upgrade whole system type: bool - default: 'no' + default: no upgrade_xbps: description: - Whether or not to upgrade the xbps package when necessary. @@ -53,8 +58,14 @@ options: Thus when this option is set to C(no), upgrades and installations will fail when xbps is not up to date. type: bool - default: 'yes' + default: yes 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 = ''' @@ -272,12 +283,12 @@ def main(): module = AnsibleModule( 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', 'latest', 'absent', 'removed']), 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'), update_cache=dict(default=True, aliases=['update-cache'], type='bool'), diff --git a/plugins/modules/packaging/os/zypper.py b/plugins/modules/packaging/os/zypper.py index 3c81033b8d..0fb6807631 100644 --- a/plugins/modules/packaging/os/zypper.py +++ b/plugins/modules/packaging/os/zypper.py @@ -39,6 +39,8 @@ options: - When using state=latest, this can be '*', which updates all installed packages. required: true aliases: [ 'pkg' ] + type: list + elements: str state: description: - C(present) will make sure the package is installed. @@ -49,17 +51,20 @@ options: required: false choices: [ present, latest, absent, dist-upgrade ] default: "present" + type: str type: description: - The type of package to be operated on. required: false choices: [ package, patch, pattern, product, srcpackage, application ] default: "package" + type: str extra_args_precommand: required: false description: - Add additional global target options to C(zypper). - Options should be supplied in a single line as if given in the command line. + type: str disable_gpg_check: description: - Whether to disable to GPG signature checking of the package @@ -107,6 +112,7 @@ options: description: - Add additional options to C(zypper) command. - Options should be supplied in a single line as if given in the command line. + type: str allow_vendor_change: type: bool required: false @@ -492,7 +498,7 @@ def repo_refresh(m): def main(): module = AnsibleModule( 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']), type=dict(required=False, default='package', choices=['package', 'patch', 'pattern', 'product', 'srcpackage', 'application']), extra_args_precommand=dict(required=False, default=None), diff --git a/plugins/modules/packaging/os/zypper_repository.py b/plugins/modules/packaging/os/zypper_repository.py index da065b0c91..9f06137ac9 100644 --- a/plugins/modules/packaging/os/zypper_repository.py +++ b/plugins/modules/packaging/os/zypper_repository.py @@ -21,17 +21,21 @@ options: name: description: - A name for the repository. Not required when adding repofiles. + type: str repo: description: - URI of the repository or .repo file. Required when state=present. + type: str state: description: - A source string state. choices: [ "absent", "present" ] default: "present" + type: str description: description: - A description of the repository + type: str disable_gpg_check: description: - Whether to disable GPG signature checking of @@ -39,24 +43,25 @@ options: I(present). - Needs zypper version >= 1.6.2. type: bool - default: 'no' + default: no autorefresh: description: - Enable autorefresh of the repository. type: bool - default: 'yes' + default: yes aliases: [ "refresh" ] priority: description: - Set priority of repository. Packages will always be installed from the repository with the smallest priority number. - Needs zypper version >= 1.12.25. + type: int overwrite_multiple: description: - Overwrite multiple repository entries, if repositories with both name and URL already exist. type: bool - default: 'no' + default: no auto_import_keys: description: - Automatically import the gpg signing key of the new or changed repository. @@ -64,18 +69,18 @@ options: - Implies runrefresh. - Only works with C(.repo) files if `name` is given explicitly. type: bool - default: 'no' + default: no runrefresh: description: - Refresh the package list of the given repository. - Can be used with repo=* to refresh all repositories. type: bool - default: 'no' + default: no enabled: description: - Set repository to enabled (or disabled). type: bool - default: 'yes' + default: yes requirements: diff --git a/tests/sanity/ignore-2.10.txt b/tests/sanity/ignore-2.10.txt index 227a2c9cd9..9b3a1da667 100644 --- a/tests/sanity/ignore-2.10.txt +++ b/tests/sanity/ignore-2.10.txt @@ -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: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-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-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-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_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-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: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-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:undocumented-parameter 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-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: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: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/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-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-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-default-does-not-match-spec 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-missing-type 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-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:parameter-type-not-in-doc plugins/modules/remote_management/cobbler/cobbler_system.py validate-modules:doc-required-mismatch diff --git a/tests/sanity/ignore-2.11.txt b/tests/sanity/ignore-2.11.txt index 227a2c9cd9..9b3a1da667 100644 --- a/tests/sanity/ignore-2.11.txt +++ b/tests/sanity/ignore-2.11.txt @@ -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: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-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-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-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_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-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: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-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:undocumented-parameter 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-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: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: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/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-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-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-default-does-not-match-spec 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-missing-type 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-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:parameter-type-not-in-doc plugins/modules/remote_management/cobbler/cobbler_system.py validate-modules:doc-required-mismatch