diff options
author | pallxk <github@pallxk.com> | 2020-04-09 23:22:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 10:22:43 -0500 |
commit | 43270332e7d10b297ff9d61cbeb129fcefa6f9db (patch) | |
tree | 185190416e8ee9e9bbae1a1e3f12cfdaf3e135b7 | |
parent | 4e3068dd5ecde5b0bf1ecaefcd08f7d151115b69 (diff) | |
download | ansible-43270332e7d10b297ff9d61cbeb129fcefa6f9db.tar.gz |
true and false commands have to be quoted (#68761)
otherwise they will be parsed as bool instead of string by YAML.
-rw-r--r-- | docs/docsite/rst/user_guide/playbooks_debugger.rst | 6 |
1 files 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 a9b55756d7..4360a85b62 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 |