Skip to content

Commit

Permalink
Increase delay between retries for kcp name
Browse files Browse the repository at this point in the history
Signed-off-by: michal.gubricky <[email protected]>
  • Loading branch information
michal-gubricky committed Jul 10, 2024
1 parent 46d72c1 commit fad98f3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions playbooks/openstack/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,13 @@
- name: Apply cluster template
ansible.builtin.command: "kubectl apply -f {{ ansible_user_dir }}/cluster.yaml"
changed_when: true
- name: Debug puase
ansible.builtin.pause:
seconds: 600
- name: Get kubeadmcontrolplane name
ansible.builtin.command: "kubectl get kubeadmcontrolplane -o=jsonpath='{.items[0].metadata.name}'"
ansible.builtin.command: "kubectl get kubeadmcontrolplane"
retries: 6
delay: 10
delay: 20
until: kcp_name.rc == 0
register: kcp_name
changed_when: true
Expand Down

0 comments on commit fad98f3

Please sign in to comment.