From d5d81912017b9ec2c5a4f0d36f2ba48a74ee9557 Mon Sep 17 00:00:00 2001 From: Jaya Christina <5083049+jayachristina@users.noreply.github.com> Date: Tue, 28 Jan 2025 17:27:30 +0530 Subject: [PATCH] Platform engineering workshop (#9020) * workload platform engineering workshop * no defined users * fetching openshift_gitops_password for showroom.yaml * remove openshift_gitops_password for showroom.yaml * pause between Argo App creation * typos corrections * removed pauses and added retries to points with most failures * Marking ignore_errors: true while performing retries --------- Co-authored-by: Bernard Tison --- .../tasks/openshift_gitops.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ansible/roles_ocp_workloads/ocp4_workload_platform_engineering_workshop/tasks/openshift_gitops.yml b/ansible/roles_ocp_workloads/ocp4_workload_platform_engineering_workshop/tasks/openshift_gitops.yml index a782ada74b0..00df79ba6a1 100644 --- a/ansible/roles_ocp_workloads/ocp4_workload_platform_engineering_workshop/tasks/openshift_gitops.yml +++ b/ansible/roles_ocp_workloads/ocp4_workload_platform_engineering_workshop/tasks/openshift_gitops.yml @@ -61,8 +61,6 @@ - name: Update resources for openshift-gitops ArgoCD instance when: ocp4_workload_platform_engineering_workshop_openshift_gitops_update_resources | bool - retries: 10 - delay: 30 kubernetes.core.k8s: state: patched definition: "{{ lookup('template', 'openshift-gitops/openshift-gitops.yaml.j2') | from_yaml }}" @@ -106,6 +104,7 @@ - r_openshift_gitops.resources | length == 1 retries: 10 delay: 30 + ignore_errors: true - name: Get openshift_gitops_admin_password ansible.builtin.set_fact: