The collection name used in ansible/ansible is ansible.builtin
.
- Module/plugin deprecation:
deprecated
entry inDOCUMENTATION
with:why
,alternative
(required)- either
removed_in: <version>
orremoved_at_date: <date>
- (
removed_from_collection
is automatically inserted if not present)
deprecation
entry inmeta/runtime.yml
with:warning_text
(optional)- either
removal_version: <version>
orremoval_date: <date>
- Plugin option deprecation in
DOCUMENTATION
(for option itself, forini
entry, forvars
entry, forenv
entry)why
(required)alternatives
(optional)- either
version: <version>
ordate: <date>
- (
collection_name
is automatically inserted if not present)
- Module argument spec option deprecation:
- either
removed_in_version="<version>"
orremoved_at_date="<date>"
removed_from_collection="<namespace.name>"
(required)
- either
- Module argument spec alias deprecation:
name="<alias>"
(required)collection_name="<namespace.name>"
(required)- either
version="<version>"
ordate="<date>"
Display.deprecated()
andAnsibleModule.deprecate()
calls- first positional argument
msg
(required) - either
version="<version>"
ordate="<date>"
collection_name="<namespace.name>"
(required)
- first positional argument
Update: the field in top-level
deprecated
is calledremoved_from_collection
, notcollection_name
. (It is auto-inserted, so this should affect anyone.)