Skip to content

Commit

Permalink
Add condition for idempotency
Browse files Browse the repository at this point in the history
  • Loading branch information
lukapetrovic-git committed Nov 10, 2023
1 parent 80cfcc0 commit be11f37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/first_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
- '"kubelet has sufficient memory available" in node_status.stdout_lines'
- '"kubelet has no disk pressure" in node_status.stdout_lines'
- '"kubelet has sufficient PID available" in node_status.stdout_lines'
- '"cni plugin not initialized" in node_status.stdout'
- ('"cni plugin not initialized" in node_status.stdout' or '"kubelet is posting ready status." in node_status.stdout')
retries: 100
delay: 15
when: rke2_cni == 'none'
Expand Down
2 changes: 1 addition & 1 deletion tasks/standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
- '"kubelet has sufficient memory available" in node_status.stdout_lines'
- '"kubelet has no disk pressure" in node_status.stdout_lines'
- '"kubelet has sufficient PID available" in node_status.stdout_lines'
- '"cni plugin not initialized" in node_status.stdout'
- ('"cni plugin not initialized" in node_status.stdout' or '"kubelet is posting ready status." in node_status.stdout')
retries: 100
delay: 15
when: rke2_cni == 'none'
Expand Down

0 comments on commit be11f37

Please sign in to comment.