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

otherwise they will be parsed as bool instead of string by YAML.
pull/68821/head
pallxk 4 years ago committed by GitHub
parent 4e3068dd5e
commit 43270332e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save