|
| 1 | +--- |
| 2 | +- name: "Verify container - {{ container_test_id }}" |
| 3 | + when: container_list is defined |
| 4 | + ansible.builtin.include_tasks: "container_tests.yml" |
| 5 | + loop: "{{ container_list }}" |
| 6 | + |
| 7 | + |
| 8 | +- name: "Verify credential - {{ cred_test_id }}" |
| 9 | + when: cred_list is defined |
| 10 | + ansible.builtin.include_tasks: "cred_tests.yml" |
| 11 | + loop: "{{ cred_list }}" |
| 12 | + |
| 13 | + |
| 14 | +- name: "Verify endpoint in OSP - {{ endpoint_test_id }}" |
| 15 | + when: endpoint_list is defined |
| 16 | + ansible.builtin.include_tasks: "endpoint_tests.yml" |
| 17 | + loop: "{{ endpoint_list }}" |
| 18 | + |
| 19 | + |
| 20 | +- name: "Verify file - {{ file_test_id }}" |
| 21 | + when: file_list is defined |
| 22 | + ansible.builtin.include_tasks: "file_tests.yml" |
| 23 | + loop: "{{ file_list }}" |
| 24 | + |
| 25 | + |
| 26 | +- name: "Verify manifest - {{ manifest_test_id }}" |
| 27 | + when: manifest_list is defined |
| 28 | + ansible.builtin.include_tasks: "manifest_tests.yml" |
| 29 | + loop: "{{ manifest_list }}" |
| 30 | + |
| 31 | + |
| 32 | +- name: "Verify OSP node - {{ node_test_id }}" |
| 33 | + when: node_list is defined |
| 34 | + ansible.builtin.include_tasks: node_tests.yml |
| 35 | + loop: "{{ node_list }}" |
| 36 | + |
| 37 | + |
| 38 | +- name: "Verify pod - {{ pod_test_id }}" |
| 39 | + when: |
| 40 | + - pod_list is defined |
| 41 | + - nspace is defined |
| 42 | + - pod_status_str is defined |
| 43 | + ansible.builtin.include_tasks: "pod_tests.yml" |
| 44 | + loop: "{{ pod_list }}" |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | +- name: "Verify project - {{ proj_test_id }}" |
| 49 | + when: proj_list is defined |
| 50 | + ansible.builtin.include_tasks: "proj_tests.yml" |
| 51 | + loop: "{{ proj_list }}" |
| 52 | + |
| 53 | + |
| 54 | +- name: "Verify service - {{ service_test_id }}" |
| 55 | + when: |
| 56 | + - service_list is defined |
| 57 | + - nspace is defined |
| 58 | + ansible.builtin.include_tasks: "service_tests.yml" |
| 59 | + loop: "{{ service_list }}" |
| 60 | + |
| 61 | + |
| 62 | +- name: "Verify subscription - {{ subscription_test_id }}" |
| 63 | + when: subscription_list is defined |
| 64 | + ansible.builtin.include_tasks: "subscription_tests.yml" |
| 65 | + loop: "{{ subscription_list }}" |
0 commit comments