Skip to content

Commit 1f4dd6e

Browse files
committed
Show the nodes summary for each cluster
Don't show the summary only for the first configured cluster, but for each. Instead of utilizing `run_once` which limits the execution to once per play, just use the existing `when` condition to limit it to the 1st server of each cluster.
1 parent f89e4ad commit 1f4dd6e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tasks/summary.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,9 @@
3131
args:
3232
executable: /bin/bash
3333
changed_when: false
34-
run_once: true
3534
retries: 5
3635
register: nodes_summary
3736

3837
- name: K8s nodes state
3938
ansible.builtin.debug:
4039
var: nodes_summary.stdout_lines
41-
run_once: true

0 commit comments

Comments
 (0)