The HTTPS readiness check was causing deployment timeouts because:
- DNS propagation can take up to 5 minutes
- Let's Encrypt certificate issuance takes 30-60 seconds
- Deployment would timeout waiting for HTTPS to work
This check was unnecessary because:
- Authentik health is already verified via Docker health check
- OIDC provider creation uses internal localhost API (doesn't need HTTPS)
- HTTPS will work automatically once DNS/SSL is ready
Changes:
- Removed uri check for https://{{ authentik_domain }}/
- Removed 60 retries × 15 second delay (15 minute timeout)
- Added informational note about DNS/SSL timing
- Deployment now continues immediately after Docker health check
Result: Deployment completes in ~5 minutes instead of timing out.
DNS and SSL still propagate normally in the background.
Fixes: Deployment timeout issue during fresh builds
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
839 B
YAML
25 lines
839 B
YAML
---
|
|
# Bootstrap tasks for initial Authentik configuration
|
|
|
|
- name: Display bootstrap status
|
|
debug:
|
|
msg: |
|
|
========================================
|
|
Authentik is running!
|
|
========================================
|
|
|
|
URL: https://{{ authentik_domain }}
|
|
|
|
Bootstrap Configuration:
|
|
✓ Admin user 'akadmin' automatically created
|
|
✓ Password: (stored in secrets file)
|
|
✓ API token: (stored in secrets file)
|
|
|
|
The admin account and API token are automatically configured
|
|
via AUTHENTIK_BOOTSTRAP_* environment variables.
|
|
|
|
Note: HTTPS access requires DNS propagation and SSL certificate
|
|
issuance. This typically takes 1-5 minutes after deployment.
|
|
Authentik is accessible internally and the deployment will continue.
|
|
|
|
Documentation: https://docs.goauthentik.io
|