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:
parent
4e3068dd5e
commit
43270332e7
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue