Skip to content

Commit

Permalink
unixy Callback: Fix typo using ansibles config manager (#5744)
Browse files Browse the repository at this point in the history
Fixes typo introduced in 53da86c.

Signed-off-by: Fabian P. Schmidt <[email protected]>

Signed-off-by: Fabian P. Schmidt <[email protected]>
  • Loading branch information
kerel-fs authored Dec 30, 2022
1 parent 2d4ce9f commit 568e188
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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).
2 changes: 1 addition & 1 deletion plugins/callback/unixy.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def v2_runner_on_ok(self, result, msg="ok", display_color=C.COLOR_OK):
display_color = C.COLOR_CHANGED
task_result = self._process_result_output(result, msg)
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)
self._display.display(" " + task_result, display_color)

Expand Down

0 comments on commit 568e188

Please sign in to comment.