From 113fc6e84cf079f30c8420825cb3f5258389df0b Mon Sep 17 00:00:00 2001 From: flowerysong Date: Wed, 23 Jul 2025 10:03:12 -0400 Subject: [PATCH] porting guide 2.19: nicer rendering for Ansible output (#2877) Signed-off-by: Paul Arthur (cherry picked from commit 913d397a799cde7bb2cf9cede184bc876c5084e5) --- docs/docsite/rst/porting_guides/porting_guide_core_2.19.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/porting_guides/porting_guide_core_2.19.rst b/docs/docsite/rst/porting_guides/porting_guide_core_2.19.rst index 8303fd884d..cca227debb 100644 --- a/docs/docsite/rst/porting_guides/porting_guide_core_2.19.rst +++ b/docs/docsite/rst/porting_guides/porting_guide_core_2.19.rst @@ -380,7 +380,7 @@ Due to some string results previously parsing as lists, this mistake often went The result of this template becomes a string: -.. code-block:: console +.. code-block:: ansible-output ok: [localhost] => { "msg": "['prod1', 'prod2']" @@ -397,7 +397,7 @@ This can be resolved by using the ``map`` filter to apply the ``replace`` filter The result of the corrected template remains a list: -.. code-block:: console +.. code-block:: ansible-output ok: [localhost] => { "msg": [