mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-27 07:27:33 +00:00
Remove deprecated features, bump version to 6.0.0 (#5326)
* Bump version to 6.0.0. * sender option is now required. * Default of want_proxmox_nodes_ansible_host changed from true to false. * username is now an alias of user, and no longer of workspace. * Remove deprecated return values in favor of end_state. * Remove debug option. * Change default of ignore_volatile_options from true to false. * gitlab_group must now always contain the full path. * Change default of norc from false to ture. * Remove deprecated property. * Add PR URL. * Adjust bitbucket unit tests. * Adjust module_helper integration test.
This commit is contained in:
parent
091bdc77c3
commit
2830a3452d
28 changed files with 70 additions and 243 deletions
|
|
@ -70,11 +70,10 @@ options:
|
|||
version_added: 3.3.0
|
||||
norc:
|
||||
type: bool
|
||||
default: true
|
||||
description:
|
||||
- Avoid loading any C(.gemrc) file. Ignored for RubyGems prior to 2.5.2.
|
||||
- The current default value C(false) has been deprecated in community.general 5.0.0.
|
||||
Explicitly specify the value to prevent the deprecation warning to be shown."
|
||||
- From community.general 6.0.0 on, the default will be changed to C(true).
|
||||
- The default changed from C(false) to C(true) in community.general 6.0.0.
|
||||
version_added: 3.3.0
|
||||
env_shebang:
|
||||
description:
|
||||
|
|
@ -298,7 +297,7 @@ def main():
|
|||
user_install=dict(required=False, default=True, type='bool'),
|
||||
install_dir=dict(required=False, type='path'),
|
||||
bindir=dict(type='path'),
|
||||
norc=dict(type='bool'),
|
||||
norc=dict(type='bool', default=True),
|
||||
pre_release=dict(required=False, default=False, type='bool'),
|
||||
include_doc=dict(required=False, default=False, type='bool'),
|
||||
env_shebang=dict(required=False, default=False, type='bool'),
|
||||
|
|
@ -316,12 +315,6 @@ def main():
|
|||
module.fail_json(msg="Cannot maintain state=latest when installing from local source")
|
||||
if module.params['user_install'] and module.params['install_dir']:
|
||||
module.fail_json(msg="install_dir requires user_install=false")
|
||||
if module.params['norc'] is None:
|
||||
module.deprecate(
|
||||
'The default of the norc option has been deprecated. It will be changed to `true`'
|
||||
' in community.general 6.0.0. Specify an explicit value to get rid of this message',
|
||||
version='6.0.0', collection_name='community.general')
|
||||
module.params['norc'] = False
|
||||
|
||||
if not module.params['gem_source']:
|
||||
module.params['gem_source'] = module.params['name']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue