mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07: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
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue