Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
igorribeiroduarte committed Apr 1, 2024
1 parent b79335c commit 65e546e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions ansible-scylla-node/tasks/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,35 @@
host: "{{ scylla_api_address }}"
timeout: 300


- shell: |
nodetool status
register: igor_test1
- shell: |
nodetool status|grep -E '^UN|^UJ|^DN'
register: igor_test2
- shell: |
nodetool status|grep -E '^UN|^UJ|^DN'| grep -Ew "{{ play_hosts | join('|') }}" | wc -l
register: igor_test3
- name: Show play_hosts
debug:
msg: "{{ play_hosts }}"

- name: Show igor_test1
debug:
msg: "{{ igor_test1.stdout }}"

- name: Show igor_test2
debug:
msg: "{{ igor_test2.stdout }}"

- name: Show igor_test3
debug:
msg: "{{ igor_test3.stdout }}"

- name: wait for the cluster to become healthy
shell: |
nodetool status|grep -E '^UN|^UJ|^DN'| grep -Ew "{{ play_hosts | join('|') }}" | wc -l
Expand Down

0 comments on commit 65e546e

Please sign in to comment.