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 03ed468 commit 9180cddCopy full SHA for 9180cdd
roles/common/tasks/cr_tests.yml
@@ -18,7 +18,7 @@
18
condition_type: "{{ item.condition_type if item.condition_type is defined else '' }}"
19
20
- name: |
21
- {{ "TEST " if condition_type | length >0 }}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 }}
22
{{ common_cr_ready_test_id if condition_type | length > 0 }}
23
ansible.builtin.command:
24
cmd: |
@@ -27,3 +27,6 @@
27
changed_when: false
28
failed_when:
29
- result.stdout != "True"
30
+ when:
31
+ - common_cr_ready_test_id is defined
32
+ - condition_type | length > 0
0 commit comments