mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
[5.0.0] Bump version to 5.0.0, remove deprecated features (#4516)
* Remove deprecated features. * Fix changelog. * Remove ignore.txt entries. * One more. * Remove state=get tests.
This commit is contained in:
@@ -33,17 +33,13 @@ options:
|
||||
update_cache:
|
||||
description:
|
||||
- Update the package database first C(urpmi.update -a).
|
||||
- Alias C(update-cache) has been deprecated and will be removed in community.general 5.0.0.
|
||||
type: bool
|
||||
default: no
|
||||
aliases: ['update-cache']
|
||||
no_recommends:
|
||||
description:
|
||||
- Corresponds to the C(--no-recommends) option for I(urpmi).
|
||||
- Alias C(no-recommends) has been deprecated and will be removed in community.general 5.0.0.
|
||||
type: bool
|
||||
default: yes
|
||||
aliases: ['no-recommends']
|
||||
force:
|
||||
description:
|
||||
- Assume "yes" is the answer to any question urpmi has to ask.
|
||||
@@ -197,13 +193,9 @@ def main():
|
||||
argument_spec=dict(
|
||||
state=dict(type='str', default='present',
|
||||
choices=['absent', 'installed', 'present', 'removed']),
|
||||
update_cache=dict(
|
||||
type='bool', default=False, aliases=['update-cache'],
|
||||
deprecated_aliases=[dict(name='update-cache', version='5.0.0', collection_name='community.general')]),
|
||||
update_cache=dict(type='bool', default=False),
|
||||
force=dict(type='bool', default=True),
|
||||
no_recommends=dict(
|
||||
type='bool', default=True, aliases=['no-recommends'],
|
||||
deprecated_aliases=[dict(name='no-recommends', version='5.0.0', collection_name='community.general')]),
|
||||
no_recommends=dict(type='bool', default=True),
|
||||
name=dict(type='list', elements='str', required=True, aliases=['package', 'pkg']),
|
||||
root=dict(type='str', aliases=['installroot']),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user