Ansible sudo password not being passed to deploy commcare hq code

Hello everyone,

So we're trying to run a quick installation of CommCare and we keep getting this error below:

When we checked the vault.yml file, the ansible sudo password did not match the one in the image above. Hence it failing.

Funny thing is that we got this same error when we run the longer version of the install (sadly I don't have a screenshot but this is what it was saying: Needed to prompt for a connection or sudo password, but input would be ambiguous in parallel mode #41.

It seems there's an issue in the new cchq deploy, as previously (last week), when you go through the long deploy, you weren't being asked for the ansible sudo password but now it's being asked but there's an issue there.

Any assistance will be helpful. Thank you.

This error appears to indicate that the password is incorrect. Have you tested the sudo password from the vault file?

When we checked the vault.yml file, the ansible sudo password did not match the one in the image above.

The output won't contain the actual password.

So this error seems to have just disappeared for now (but the password didn't work when we tried to use it log into ansible) and now we have an error we've been getting in both installation methods:



Our env name has been set in install config.yml but It keeps saying it's undefined. This error is actually why we tried to use the quick install instead of the long install.

Is there output from higher up which shows the actual command that was run?

bash cchq-install.sh install-config.yml for quick install and $ commcare-cloud cluster deploy-stack --skip-check -e 'CCHQ_IS_FRESH_INSTALL=1' for the longer install

Hi @clara ,

This was a bug that was introduced yesterday, which has now been fixed. You should be able to pull the latest version of the commcare-cloud repository and re-run the commands.

Hope that helps!

Farid