From 85dcbb73a478c2d587408d704c974b434b97be63 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Thu, 5 Jan 2023 10:01:03 +0100 Subject: [PATCH] Increase retry limit for helm charts --- .../files/ansible_payload/roles/metacluster/tasks/assets.yml | 2 +- .../ansible_payload/roles/metacluster/tasks/certauthority.yml | 2 +- .../files/ansible_payload/roles/metacluster/tasks/git.yml | 2 +- .../files/ansible_payload/roles/metacluster/tasks/gitops.yml | 2 +- .../files/ansible_payload/roles/metacluster/tasks/registry.yml | 2 +- .../files/ansible_payload/roles/metacluster/tasks/storage.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/assets.yml b/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/assets.yml index 0dd1b2e..d8a2598 100644 --- a/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/assets.yml +++ b/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/assets.yml @@ -7,6 +7,6 @@ loop_control: label: "{{ item | basename }}" # Probably should add a task before that ensures K3s node is fully initialized before starting imports; currently K3s goes away briefly during this loop - retries: 5 + retries: 9 delay: 10 until: import_result is not failed diff --git a/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/certauthority.yml b/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/certauthority.yml index 354e42c..1ae8c2c 100644 --- a/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/certauthority.yml +++ b/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/certauthority.yml @@ -18,7 +18,7 @@ until: - api_readycheck.json.status is defined - api_readycheck.json.status == 'ok' - retries: 5 + retries: 9 delay: 60 - name: Retrieve configmap w/ root certificate diff --git a/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/git.yml b/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/git.yml index 32c72b0..09d1299 100644 --- a/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/git.yml +++ b/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/git.yml @@ -18,7 +18,7 @@ until: - api_readycheck.json.status is defined - api_readycheck.json.status == 'pass' - retries: 5 + retries: 9 delay: 60 - name: Configure additional SSH ingress diff --git a/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/gitops.yml b/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/gitops.yml index 9fa3fda..8707d7d 100644 --- a/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/gitops.yml +++ b/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/gitops.yml @@ -17,7 +17,7 @@ register: api_readycheck until: - api_readycheck.json.Version is defined - retries: 5 + retries: 9 delay: 60 - name: Generate argo-cd API token diff --git a/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/registry.yml b/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/registry.yml index 61608bd..8bc51ae 100644 --- a/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/registry.yml +++ b/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/registry.yml @@ -18,7 +18,7 @@ until: - api_readycheck.json.status is defined - api_readycheck.json.status == 'healthy' - retries: 5 + retries: 9 delay: 60 - name: Push images to registry diff --git a/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/storage.yml b/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/storage.yml index 01a1c2a..12197e9 100644 --- a/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/storage.yml +++ b/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/storage.yml @@ -16,7 +16,7 @@ register: api_readycheck until: - api_readycheck is not failed - retries: 5 + retries: 9 delay: 60 module_defaults: