yaml callback plugin: deprecation (#9456)
* yaml callback pulign: deprecation * add changelog frag * Update plugins/callback/yaml.py Co-authored-by: Felix Fontein <felix@fontein.de> * set removal to 13.0.0 --------- Co-authored-by: Felix Fontein <felix@fontein.de>pull/9431/head
parent
482a90e8b4
commit
17d36da150
|
@ -0,0 +1,2 @@
|
|||
deprecated_features:
|
||||
- yaml callback plugin - deprecate plugin in favor of ``result_format=yaml`` in plugin ``ansible.bulitin.default`` (https://github.com/ansible-collections/community.general/pull/9456).
|
|
@ -83,6 +83,10 @@ plugin_routing:
|
|||
removal_version: 2.0.0
|
||||
warning_text: Use the 'default' callback plugin with 'display_failed_stderr
|
||||
= yes' option.
|
||||
yaml:
|
||||
deprecation:
|
||||
removal_version: 13.0.0
|
||||
warning_text: The plugin has been superseded by the the option `result_format=yaml` in callback plugin ansible.builtin.default from ansible-core 2.13 onwards.
|
||||
connection:
|
||||
docker:
|
||||
redirect: community.docker.docker
|
||||
|
|
|
@ -12,6 +12,10 @@ author: Unknown (!UNKNOWN)
|
|||
name: yaml
|
||||
type: stdout
|
||||
short_description: YAML-ized Ansible screen output
|
||||
deprecated:
|
||||
removed_in: 13.0.0
|
||||
why: Starting in ansible-core 2.13, the P(ansible.builtin.default#callback) callback has support for printing output in YAML format.
|
||||
alternative: Use O(ansible.builtin.default#callback:result_format=yaml).
|
||||
description:
|
||||
- Ansible output that can be quite a bit easier to read than the default JSON formatting.
|
||||
extends_documentation_fragment:
|
||||
|
|
Loading…
Reference in New Issue