blob: 14c942a6e029d94ba518883227739d3f3174d8e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
- hosts: localhost
tasks:
- name: foo
ansible.builtin.debug:
msg: foo!
failed_when: false # <- valid
- name: foo
ansible.builtin.debug:
msg: foo!
failed_when: "string is valid too" # <- valid
- name: foo
ansible.builtin.debug:
msg: foo!
failed_when: # <- lists are valid too
- foo
- bar
|