We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bfdba6 commit ea284bbCopy full SHA for ea284bb
roles/common/tasks/cr_tests.yml
@@ -19,7 +19,7 @@
19
condition_type: "{{ item.condition_type if item.condition_type is defined else '' }}"
20
21
- name: |
22
- Verify that the {{ item.kind }} {{ item.name }} CR is {{ condition_type }}
+ {{ 'TEST' if condition_type | length > 0 }} Verify that the {{ item.kind }} {{ item.name }} CR is {{ condition_type }}
23
{{ common_cr_ready_test_id if condition_type | length > 0 }}
24
ansible.builtin.command:
25
cmd: |
@@ -28,3 +28,6 @@
28
changed_when: false
29
failed_when:
30
- result.stdout != "True"
31
+ when:
32
+ - common_cr_ready_test_id is defined
33
+ - condition_type | length > 0
0 commit comments