Skip to main content

Hello,

I want automate my installations, for this I want to set the password hash set into the default.xml during the installation face.  I found all things to write for each system the individual default.xml, the only what I am missing is the password hash.

<userAccountToLogin domainName="" encPassword="" password="" userName="" />

I use ansible for deploying Unix machines, with a python script to configure in the second step Storagepolicy and the right schedule policy, via Rest API

 

regards Juergen

 

Hi Juergen

 

I would recommend using Authcode for automating deployments.

https://documentation.commvault.com/commvault/v11_sp20/article?p=102069.htm

 

Did you try this and are there any issues using Authcode?

 

Thanks,

Narender


Hi Juergen 

 

We also use Ansible for deploying commvault on Windows and Linux 

We set the gateway and client group and auth via ansible in the xml file and i works like a dream 

Just remember to update ansible when somebody refresh  the auth code ;) 

 

Best regards

Bjarke  


Hello @Narender 

that works perfect for me, thanks.

regards

Jürgen


@Bjarke Jensen 

We are just starting to look at Auto deploying Commvault to Cloud hosts with Ansible via our CI/CD pipeline

would you be able to share an example of your Ansible script ? 

I’ve seen several examples in GetHub but not one that dose host deploys

Thanks

Jesse 


Hi @Jgrinde 

 

You can take a look at our current play here 

Hope you can use this as inspiration to complete your goal :) 

https://pastebin.com/A4jupwg6

 

Best regards

Bjarke


Thanks for sharing @Bjarke Jensen !


Reply