mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-30 15:38:53 +00: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:
parent
99b7573dfb
commit
72ca27a6ae
36 changed files with 259 additions and 246 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue