Currently rewriting an ansible role for installing / bootstrapping a cluster in the more recent versions of Elasticsearch (8.3+).
Grabbing the initial passwords for the system users is nontrivial from ansible but elasticsearch-reset-password has an easy -b -s flag for a painless way to capture the new password in stdout.
I would like to see the same -b flag added to elasticsearch-reconfigure-node so that I don't have to use the expect module and require pexpect as a dependency to my project to validate the other nodes joining the initial one.
I don't have a complete view of all the cli tools that require user interaction, but if you know of any more that could be used in automation and could use the "-b" flag, they could be added to the list :+1:
Description
Hi team,
Currently rewriting an ansible role for installing / bootstrapping a cluster in the more recent versions of Elasticsearch (8.3+).
Grabbing the initial passwords for the system users is nontrivial from ansible but
elasticsearch-reset-password
has an easy -b -s flag for a painless way to capture the new password in stdout.I would like to see the same -b flag added to
elasticsearch-reconfigure-node
so that I don't have to use theexpect
module and requirepexpect
as a dependency to my project to validate the other nodes joining the initial one.I don't have a complete view of all the cli tools that require user interaction, but if you know of any more that could be used in automation and could use the "-b" flag, they could be added to the list :+1:
Your feedback is highly appreciated.