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

@ -29,11 +29,13 @@ options:
- Indicates the desired package state.
choices: [ absent, present ]
default: present
type: str
update_cache:
description:
- update the package database first C(apt-get update).
aliases: [ 'update-cache' ]
type: bool
default: 'no'
default: no
author:
- Evgenii Terechkov (@evgkrsk)
'''
@ -154,7 +156,7 @@ def install_packages(module, pkgspec):
def main():
module = AnsibleModule(
argument_spec=dict(
state=dict(type='str', default='installed', choices=['absent', 'installed', 'present', 'removed']),
state=dict(type='str', default='present', choices=['absent', 'installed', 'present', 'removed']),
update_cache=dict(type='bool', default=False, aliases=['update-cache']),
package=dict(type='list', elements='str', required=True, aliases=['name', 'pkg']),
),