Erik Jacobs
2020-03-12 cf318d6b30ac0ed4b47488f86fa1a8c3713d4895
changes spam workload for ansible 2.8 sillyness (#1312)

1 files modified
4 ■■■■ changed files
ansible/roles/ocp4-workload-ai-spam-demo-odh/tasks/workload.yml 4 ●●●● patch | view | raw | blame | history
ansible/roles/ocp4-workload-ai-spam-demo-odh/tasks/workload.yml
@@ -89,6 +89,7 @@
  register: odh_csv
  until: 
    - odh_csv.resources is defined
    - odh_csv.resources | list | length > 0
    - odh_csv.resources[0].status is defined
    - odh_csv.resources[0].status.phase is defined
    - odh_csv.resources[0].status.phase == 'Succeeded'
@@ -128,6 +129,7 @@
  until:
    - deployment_out is defined
    - deployment_out.resources is defined
    - deployment_out.resources | list | length > 0
    - deployment_out.resources[0].status is defined
    - deployment_out.resources[0].status.readyReplicas is defined
    - deployment_out.resources[0].status.readyReplicas | int >= 1
@@ -145,6 +147,7 @@
  until:
    - deployment_out is defined
    - deployment_out.resources is defined
    - deployment_out.resources | list | length > 0
    - deployment_out.resources[0].status is defined
    - deployment_out.resources[0].status.readyReplicas is defined
    - deployment_out.resources[0].status.readyReplicas | int >= 1
@@ -179,6 +182,7 @@
  until:
    - deployment_out is defined
    - deployment_out.resources is defined
    - deployment_out.resources | list | length > 0
    - deployment_out.resources[0].status is defined
    - deployment_out.resources[0].status.readyReplicas is defined
    - deployment_out.resources[0].status.readyReplicas | int >= 3