1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

unixy Callback: Fix typo using ansibles config manager (#5744)

Fixes typo introduced in 53da86c.

Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>

Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>
This commit is contained in:
Fabian P. Schmidt 2022-12-30 22:35:03 +01:00 committed by GitHub
parent 2d4ce9f219
commit 568e18809c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- unixy callback plugin - fix typo introduced when updating to use Ansible's configuration manager for handling options (https://github.com/ansible-collections/community.general/issues/5600).

View file

@ -142,7 +142,7 @@ class CallbackModule(CallbackModule_default):
display_color = C.COLOR_CHANGED display_color = C.COLOR_CHANGED
task_result = self._process_result_output(result, msg) task_result = self._process_result_output(result, msg)
self._display.display(" " + task_result, display_color) self._display.display(" " + task_result, display_color)
elif self.get('display_ok_hosts'): elif self.get_option('display_ok_hosts'):
task_result = self._process_result_output(result, msg) task_result = self._process_result_output(result, msg)
self._display.display(" " + task_result, display_color) self._display.display(" " + task_result, display_color)