Skip to content

Commit cbfffdc

Browse files
authored
Merge branch 'dell:pub/telemetry' into pub/telemetry
2 parents 79ed5dd + 33aad09 commit cbfffdc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

prepare_oim/roles/deploy_containers/idrac_telemetry/tasks/deploy_activemq_container.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
failed_when: false
2929

3030
- name: Deploy ActiveMQ container and check deployment status
31+
when: activemq_container_info.containers | length == 0 or activemq_container_info.containers[0].State.Status != 'running'
3132
block:
3233
- name: Deploy the Activemq container
3334
containers.podman.podman_container:

prepare_oim/roles/deploy_containers/idrac_telemetry/tasks/deploy_idrac_telemetry_receiver_container.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
when: clone_idrac_telemetry is failed
4646

4747
- name: Deploy iDRAC Telemtery Receiver container and check deployment status
48+
when: idrac_receiver_container_info.containers | length == 0 or idrac_receiver_container_info.containers[0].State.Status != 'running'
4849
block:
4950
- name: Deploy the iDRAC telemetry receiver container
5051
containers.podman.podman_container:

prepare_oim/roles/deploy_containers/idrac_telemetry/tasks/deploy_mysql_container.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929

3030
- name: Deploy MySQL container and check deployment status
3131
when:
32-
- mysql_container_info.containers | length == 0
33-
- mysql_container_info.containers[0].State.Status != 'running'
32+
- mysql_container_info.containers | length == 0 or mysql_container_info.containers[0].State.Status != 'running'
3433
block:
3534
- name: Pull Podman image
3635
containers.podman.podman_image:

0 commit comments

Comments
 (0)