Once all of the requirements are setup, the install script can be initialized with once command:
make setup
This will initiate the setup.sh script in each folder and walk you through setting all of the required variables to deploy sculk.
The script does a couple of things:
- Log-in to Azure using
az login - Ask if Terraform Cloud will be used, if it is login via
terraform login - Also, ask for Terraform Cloud workspace and organization if using it.
- Look for SSH keys in your SSH Agent and ask if you want to use them for setup.
- Look for SSH keys in your SSH Agent and ask if you want to use them for authentication.
- Ask for your DuckDNS domain.
- Ask for your DuckDNS API token.
- Ask you for your desired username.
- Ask you for your desired password.
- Generate WireGuard private/public keypairs.
- Generate WireGuard client config.
- Encrypt all sensitive Ansible variables with ansible-vault.
Next continue to install