2026-01-07 11:23:13 +01:00
|
|
|
---
|
|
|
|
|
# Bootstrap tasks for initial Authentik configuration
|
|
|
|
|
|
2026-01-08 16:56:19 +01:00
|
|
|
- name: Wait for Authentik to be fully ready
|
|
|
|
|
uri:
|
|
|
|
|
url: "https://{{ authentik_domain }}/"
|
|
|
|
|
validate_certs: yes
|
|
|
|
|
status_code: [200, 302]
|
|
|
|
|
register: authentik_ready
|
|
|
|
|
until: authentik_ready.status in [200, 302]
|
|
|
|
|
retries: 30
|
|
|
|
|
delay: 10
|
|
|
|
|
|
|
|
|
|
- name: Display bootstrap status
|
|
|
|
|
debug:
|
|
|
|
|
msg: |
|
|
|
|
|
========================================
|
|
|
|
|
Authentik is running!
|
|
|
|
|
========================================
|
2026-01-07 11:23:13 +01:00
|
|
|
|
2026-01-08 16:56:19 +01:00
|
|
|
URL: https://{{ authentik_domain }}
|
2026-01-07 11:23:13 +01:00
|
|
|
|
2026-01-08 16:56:19 +01:00
|
|
|
Bootstrap Configuration:
|
|
|
|
|
✓ Admin user 'akadmin' automatically created
|
|
|
|
|
✓ Password: (stored in secrets file)
|
|
|
|
|
✓ API token: (stored in secrets file)
|
2026-01-07 11:23:13 +01:00
|
|
|
|
2026-01-08 16:56:19 +01:00
|
|
|
The admin account and API token are automatically configured
|
|
|
|
|
via AUTHENTIK_BOOTSTRAP_* environment variables.
|
2026-01-07 11:23:13 +01:00
|
|
|
|
2026-01-08 16:56:19 +01:00
|
|
|
Documentation: https://docs.goauthentik.io
|