mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-06 08:24:02 -07: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
|
@ -552,7 +552,7 @@ def create_payload(module, uuid):
|
|||
# Create the JSON payload (vmdef) and return the filename.
|
||||
|
||||
# Filter out the few options that are not valid VM properties.
|
||||
module_options = ['debug', 'force', 'state']
|
||||
module_options = ['force', 'state']
|
||||
# @TODO make this a simple {} comprehension as soon as py2 is ditched
|
||||
# @TODO {k: v for k, v in p.items() if k not in module_options}
|
||||
vmdef = dict([(k, v) for k, v in module.params.items() if k not in module_options and v])
|
||||
|
@ -689,7 +689,6 @@ def main():
|
|||
nics=dict(type='list', elements='dict'),
|
||||
resolvers=dict(type='list', elements='str'),
|
||||
filesystems=dict(type='list', elements='dict'),
|
||||
debug=dict(type='bool', removed_in_version='6.0.0', removed_from_collection='community.general'),
|
||||
)
|
||||
|
||||
# Add our 'simple' options to options dict.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue