-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ansible-scylla-node: Use Scylla API for getting existing tokens inste…
…ad of nodetool ring Currently we're using nodetool ring to get the current tokens and iterating over its output in order to create an ansible fact with all the tokens. This might be a problem when using ansible verbose mode since nodetool ring prints one token per line and every time we append a value to the ansible fact the whole fact will be printed resulting in a very big number of lines printed, specially for big clusters. This patch fixes this problem by using the API to get the current tokens and by writing them to a file instead of to an ansible fact.
- Loading branch information
1 parent
0ea9f8d
commit 986eb28
Showing
1 changed file
with
35 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters