Set Elastic Password during deployment

You can set the password using the method described here - Automate Elasticsearch-reset-password in bash script - #5 by Chma

Yep.