test: Improvements for container embedding Edge test
This commit is contained in:
parent
6e771c97fc
commit
53d4d7f284
3 changed files with 5 additions and 13 deletions
|
|
@ -347,11 +347,7 @@
|
|||
command: podman images
|
||||
become: yes
|
||||
register: result_podman_images
|
||||
when:
|
||||
- embeded_container == "true"
|
||||
- (ansible_facts['distribution'] == 'RedHat' and ansible_facts ['distribution_version'] is version('9.0', '>')) or
|
||||
(ansible_facts['distribution'] == 'RedHat' and ansible_facts ['distribution_version'] is version('8.6', '>') and ansible_facts ['distribution_version'] is version('9.0', '!=')) or
|
||||
(ansible_facts['distribution'] == 'CentOS')
|
||||
when: embeded_container == "true"
|
||||
|
||||
- name: embded container should be listed by podman images
|
||||
block:
|
||||
|
|
@ -367,11 +363,7 @@
|
|||
- name: failed count + 1
|
||||
set_fact:
|
||||
failed_counter: "{{ failed_counter | int + 1 }}"
|
||||
when:
|
||||
- embeded_container == "true"
|
||||
- (ansible_facts['distribution'] == 'RedHat' and ansible_facts ['distribution_version'] is version('9.0', '>')) or
|
||||
(ansible_facts['distribution'] == 'RedHat' and ansible_facts ['distribution_version'] is version('8.6', '>') and ansible_facts ['distribution_version'] is version('9.0', '!=')) or
|
||||
(ansible_facts['distribution'] == 'CentOS')
|
||||
when: embeded_container == "true"
|
||||
|
||||
# case: check running container with podman
|
||||
- name: run ubi8 image
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue