mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00: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:
@@ -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']),
|
||||
|
||||
Reference in New Issue
Block a user