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
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

@ -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'),