Skip to content

Commit 75d188d

Browse files
vbotkapatchback[bot]
authored andcommitted
intro_bsd.rs: remove deprecated yaml callback (#2573)
(cherry picked from commit 2b8c2a0)
1 parent c3906fd commit 75d188d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/docsite/rst/os_guide/intro_bsd.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ displays the details
159159

160160
.. code-block:: console
161161
162-
shell> ANSIBLE_STDOUT_CALLBACK=yaml ansible-playbook -i hosts playbook.yml
162+
shell> ANSIBLE_CALLBACK_RESULT_FORMAT=yaml ansible-playbook -i hosts playbook.yml
163163
164164
PLAY [test_11] *******************************************************************************
165165
@@ -172,21 +172,21 @@ displays the details
172172
173173
TASK [debug] *********************************************************************************
174174
ok: [test_11] =>
175-
result.stdout: /usr/local/bin/python
175+
result.stdout: /usr/local/bin/python
176176
177177
TASK [debug] *********************************************************************************
178178
ok: [test_11] =>
179-
msg: |-
180-
ansible_interpreter_python_fallback:
181-
- /usr/local/bin/python
182-
- /usr/local/bin/python3
183-
- /usr/local/bin/python3.11
179+
msg: |-
180+
ansible_interpreter_python_fallback:
181+
- /usr/local/bin/python
182+
- /usr/local/bin/python3
183+
- /usr/local/bin/python3.11
184184
185-
discovered_interpreter_python:
186-
/usr/local/bin/python
185+
discovered_interpreter_python:
186+
/usr/local/bin/python
187187
188-
ansible_playbook_python:
189-
/usr/bin/python3
188+
ansible_playbook_python:
189+
/usr/bin/python3
190190
191191
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.
192192

0 commit comments

Comments
 (0)