Skip to content

Commit

Permalink
Refinement of docs page for the refactored display callback
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCoding committed Jan 14, 2022
1 parent dce8d07 commit 0fee719
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ansible_runner/display_callback/callback/awx_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ class AnsibleJSONEncoderLocal(json.JSONEncoder):
'''

def default(self, o):
'''
Returns JSON-valid representation for special Ansible python objects
which including vault objects and datetime objects
'''
if getattr(o, 'yaml_tag', None) == '!vault':
encrypted_form = o._ciphertext
if isinstance(encrypted_form, bytes):
Expand Down
1 change: 0 additions & 1 deletion docs/ansible_runner.display_callback.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ ansible_runner.display_callback.callback.awx_display module
.. automodule:: ansible_runner.display_callback.callback.awx_display
:members:
:undoc-members:
:show-inheritance:


Module contents
Expand Down

0 comments on commit 0fee719

Please sign in to comment.