Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
api_version: certificates.k8s.io/v1
kind: CertificateSigningRequest
register: all_csrs
until: all_csrs is successful
retries: 30
delay: 5

- name: Filter for pending CSRs
ansible.builtin.set_fact:
Expand Down Expand Up @@ -45,6 +48,10 @@
}
}
loop: "{{ pending_csrs }}"
register: r_approve_pending_csrs
until: r_approve_pending_csrs is successful
retries: 30
delay: 5

- name: Get worker-only nodes (exclude control-plane/master)
kubernetes.core.k8s_info:
Expand All @@ -55,6 +62,9 @@
- "!node-role.kubernetes.io/control-plane"
- "!node-role.kubernetes.io/master"
register: r_worker_nodes
until: r_worker_nodes successful
retries: 30
delay: 5

- name: Count Ready nodes
ansible.builtin.set_fact:
Expand Down
Loading