File tree 1 file changed +10
-10
lines changed
tests/integration/targets/lookup_bakery/tasks
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 25
25
26
26
- name : " {{ outer_item.version }} - {{ outer_item.edition | upper }} - Verify bakery status."
27
27
ansible.builtin.assert :
28
- that : ("'finished' in __checkmk_var_result_bakery.msg") or
29
- ("'running' in __checkmk_var_result_bakery.msg") or
30
- ("'initialized' in __checkmk_var_result_bakery.msg") or
31
- ("'stopped' in __checkmk_var_result_bakery.msg") or
32
- ("'exception' in __checkmk_var_result_bakery.msg")
28
+ that : ("'finished' in __checkmk_var_result_bakery.msg") | bool or
29
+ ("'running' in __checkmk_var_result_bakery.msg") | bool or
30
+ ("'initialized' in __checkmk_var_result_bakery.msg") | bool or
31
+ ("'stopped' in __checkmk_var_result_bakery.msg") | bool or
32
+ ("'exception' in __checkmk_var_result_bakery.msg") | bool
33
33
34
34
- name : " {{ outer_item.version }} - {{ outer_item.edition | upper }} - Use variables outside the module call."
35
35
ansible.builtin.assert :
36
- that : ("'finished' in __checkmk_var_result_bakery_module.msg") or
37
- ("'running' in __checkmk_var_result_bakery_module.msg") or
38
- ("'initialized' in __checkmk_var_result_bakery_module.msg") or
39
- ("'stopped' in __checkmk_var_result_bakery_module.msg") or
40
- ("'exception' in __checkmk_var_result_bakery_module.msg")
36
+ that : ("'finished' in __checkmk_var_result_bakery_module.msg") | bool or
37
+ ("'running' in __checkmk_var_result_bakery_module.msg") | bool or
38
+ ("'initialized' in __checkmk_var_result_bakery_module.msg") | bool or
39
+ ("'stopped' in __checkmk_var_result_bakery_module.msg") | bool or
40
+ ("'exception' in __checkmk_var_result_bakery_module.msg") | bool
41
41
vars :
42
42
__checkmk_var_result_bakery_module : " {{ lookup('checkmk.general.bakery') }}"
43
43
delegate_to : localhost
You can’t perform that action at this time.
0 commit comments