I need to see two things when using the shell command with ansible.
-
Which hosts it’s attempting…
-
Which hosts it’s contacted , executed a command on, but hasn’t yet received a value.
-
The output, as it’s streaming back from clients.
Without this it’s difficult to use ansible for long running commands such as cluster repair jobs.
With Cassandra you often have to run nodetool repair/cleanup and these take a while.
I want to know which nodes are being cleaned so I can monitor them.