1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-16 08:53:15 +00:00

[PR #10302/580ac1e3 backport][stable-11] fix style in plugins (#10325)

fix style in plugins (#10302)


(cherry picked from commit 580ac1e30d)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2025-07-01 22:58:46 +02:00 committed by GitHub
parent 1c4556dc4c
commit da3874c96d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 111 additions and 114 deletions

View file

@ -23,7 +23,7 @@ notes:
that is available using the other various execution contexts, such as playbook, play, task, and so on so forth.
- Options being set by their respective variable input can only be set using the variable if the variable was set in a context
that is available to the respective callback. Use the C(ansible_callback_diy) dictionary to see what is available to a
callback. Additionally, C(ansible_callback_diy.top_level_var_names) will output the top level variable names available
callback. Additionally, C(ansible_callback_diy.top_level_var_names) outputs the top level variable names available
to the callback.
- Each option value is rendered as a template before being evaluated. This allows for the dynamic usage of an option. For
example, V("{{ 'yellow' if ansible_callback_diy.result.is_changed else 'bright green' }}").