diff --git a/ansible-scylla-node/tasks/common.yml b/ansible-scylla-node/tasks/common.yml index eac5f969..486ca030 100644 --- a/ansible-scylla-node/tasks/common.yml +++ b/ansible-scylla-node/tasks/common.yml @@ -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