1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-22 19:59:07 +00:00

Prepare main for 13.0.0 (#11834)

* Bump version to 13.0.0.

* Remove deprecated modules and plugins.

* Remove deprecated module utils.

* Remove leftovers.

* Remove mode=compatibility.

* Change default of is_pre740 from true to false.

* Change default of force_defaults from true to false.

* Remove support for ubuntu_legacy mechanism.

* Remove cpanm compatibility tests.
This commit is contained in:
Felix Fontein 2026-04-20 12:35:43 +02:00 committed by GitHub
parent 7ce198f0e7
commit 72c13c85ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
62 changed files with 104 additions and 13052 deletions

View file

@ -75,8 +75,9 @@ options:
force_defaults:
description:
- If V(true), overwrite current O(description) and O(private) attributes with defaults.
- V(true) is deprecated for this option and will not be allowed starting in community.general 13.0.0. V(false) will be the default value then.
- The default value changed from V(true) to V(false) in community.general 13.0.0.
type: bool
default: false
version_added: 4.1.0
requirements:
- PyGithub>=1.54
@ -239,7 +240,7 @@ def main():
private=dict(type="bool"),
description=dict(type="str"),
api_url=dict(type="str", default="https://api.github.com"),
force_defaults=dict(type="bool"),
force_defaults=dict(type="bool", default=False),
)
module = AnsibleModule(
argument_spec=module_args,
@ -249,14 +250,6 @@ def main():
mutually_exclusive=[("username", "access_token")],
)
if module.params["force_defaults"] is None:
module.deprecate(
"'force_defaults=true' is deprecated and will not be allowed in community.general 13.0.0, use 'force_defaults=false' instead",
version="13.0.0",
collection_name="community.general",
)
module.params["force_defaults"] = True
if not HAS_GITHUB_PACKAGE:
module.fail_json(msg=missing_required_lib("PyGithub"), exception=GITHUB_IMP_ERR)