Skip to content

The callback yaml is deprecated. #2573

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions docs/docsite/rst/os_guide/intro_bsd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ displays the details

.. code-block:: console

shell> ANSIBLE_STDOUT_CALLBACK=yaml ansible-playbook -i hosts playbook.yml
shell> ANSIBLE_CALLBACK_RESULT_FORMAT=yaml ansible-playbook -i hosts playbook.yml

PLAY [test_11] *******************************************************************************

Expand All @@ -172,21 +172,21 @@ displays the details

TASK [debug] *********************************************************************************
ok: [test_11] =>
result.stdout: /usr/local/bin/python
result.stdout: /usr/local/bin/python

TASK [debug] *********************************************************************************
ok: [test_11] =>
msg: |-
ansible_interpreter_python_fallback:
- /usr/local/bin/python
- /usr/local/bin/python3
- /usr/local/bin/python3.11
msg: |-
ansible_interpreter_python_fallback:
- /usr/local/bin/python
- /usr/local/bin/python3
- /usr/local/bin/python3.11

discovered_interpreter_python:
/usr/local/bin/python
discovered_interpreter_python:
/usr/local/bin/python

ansible_playbook_python:
/usr/bin/python3
ansible_playbook_python:
/usr/bin/python3

You can see that the first item from the list ``ansible_interpreter_python_fallback`` was discovered at the FreeBSD remote host. The variable ``ansible_playbook_python`` keeps the path to Python at the Linux control node that ran the playbook.

Expand Down