true and false commands have to be quoted (#68761)

otherwise they will be parsed as bool instead of string by YAML.
This commit is contained in:
pallxk 2020-04-09 23:22:43 +08:00 committed by GitHub
parent 4e3068dd5e
commit 43270332e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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