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

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