oslo-config-validator: container run task should never fail

Since it's calling the collection, there's no rc to check against and if
there's no validation error, then it's not an issue.

Change-Id: I0ae9adf5b33dbae6e6d2e349b7d5a1c33e290aaa
(cherry picked from commit 3043ad836b)
(cherry picked from commit a758a74ef3)
(cherry picked from commit 4ce41cee7a)
(cherry picked from commit 14bdad0286)
This commit is contained in:
David Vallee Delisle 2021-10-15 10:03:52 -04:00
parent d9afa02a66
commit ff67eeb65d
1 changed files with 2 additions and 4 deletions

View File

@ -115,8 +115,7 @@
command: "{{ oslo_command }}"
register: podman_container_run
failed_when:
- not podman_container_run.stderr_lines | default([]) | count
- not podman_container_run.stdout_lines | default([]) | count
- false
- name: Setting container_run fact
set_fact:
@ -141,8 +140,7 @@
command: "{{ oslo_command }}"
register: docker_container_run
failed_when:
- not docker_container_run.stderr_lines | default([]) | count
- not docker_container_run.stdout_lines | default([]) | count
- false
- name: Setting container_run fact
set_fact: