From 43270332e7d10b297ff9d61cbeb129fcefa6f9db Mon Sep 17 00:00:00 2001 From: pallxk Date: Thu, 9 Apr 2020 23:22:43 +0800 Subject: [PATCH] true and false commands have to be quoted (#68761) otherwise they will be parsed as bool instead of string by YAML. --- docs/docsite/rst/user_guide/playbooks_debugger.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docsite/rst/user_guide/playbooks_debugger.rst b/docs/docsite/rst/user_guide/playbooks_debugger.rst index a9b55756d73..4360a85b629 100644 --- a/docs/docsite/rst/user_guide/playbooks_debugger.rst +++ b/docs/docsite/rst/user_guide/playbooks_debugger.rst @@ -42,7 +42,7 @@ On a task :: - name: Execute a command - command: false + command: "false" debugger: on_failed On a play @@ -55,7 +55,7 @@ On a play debugger: on_skipped tasks: - name: Execute a command - command: true + command: "true" when: False When provided at a generic level and a more specific level, the more specific wins:: @@ -65,7 +65,7 @@ When provided at a generic level and a more specific level, the more specific wi debugger: never tasks: - name: Execute a command - command: false + command: "false" debugger: on_failed