mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #5744/568e1880 backport][stable-6] unixy Callback: Fix typo using ansibles config manager (#5747)
unixy Callback: Fix typo using ansibles config manager (#5744) Fixes typo introduced in53da86c
. Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org> Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org> (cherry picked from commit568e18809c
) Co-authored-by: Fabian P. Schmidt <kerel@mailbox.org>
This commit is contained in:
parent
50b9855ace
commit
ac35bf4acb
2 changed files with 3 additions and 1 deletions
|
@ -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).
|
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue