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
parent 99b7573dfb
commit 72ca27a6ae
36 changed files with 259 additions and 246 deletions

View File

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