use ca_password from variable(--extra-vars) - non-interactive installation using ansible playbook #1774
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
use ca_password from variable in non-interactive installation using ansible playbook.
Description
https://github.com/trailofbits/algo/blob/master/docs/deploy-from-ansible.md#local-installation
I tried the algo installation non-interactively using ansible-playbook command directly as per the above documentation.
I noticed even if we set
ca_password
variable in ansible--extra-vars
it still using the auto generated password for CA password.ansible-playbook main.yml -e "provider=local server=localhost endpoint=<public IP of VPN server> ca_password=xxxxxx"
Motivation and Context
It will use
ca_password
from variables if this variable has passed from--extra-vars
or variable config file and only use auto-generated password if there is noca_password
variable configured.It will enable users to provide
ca_password
when using non-interactive installation method.How Has This Been Tested?
Types of changes
Checklist: