Is there an existing issue for this?
Current Behavior
Following the README Quick Deployment for the albs-deploy repository fails without setting albs_jwt_token manually. The playbook calls library/jwt_generator.py which has a now expired hardcoded expiry.
Line 65 Expired 2026-05-01
EXPIRE_TIME=1777628461
Every token it generates is already expired, causing a 401 failure at the sign-keys check and affecting other dependent services.
fatal: [albs_on_one_vm]: FAILED! => {
"status": 401,
"url": "http://localhost:8088/api/v1/sign-keys/",
"json": {
"detail": "Unauthorized"
}
}
It's worth noting that the expired date is also referenced in the README.
Expected Behavior
The playbook generates a valid token and deployment completes successfully without needing to manually set albs_jwt_token.
Steps To Reproduce
-
Clone albs-deploy:
git clone git@github.com:AlmaLinux/albs-deploy.git && cd albs-deploy
-
Create vars.yml as documented in the README Quick Deployment:
github_client: <OAuth client id>
github_client_secret: <OAuth token>
frontend_baseurl: http://<hostname>:8080
-
Install ansible plugins:
ansible-galaxy install -r requirements.yml
-
Run:
ansible-playbook -i inventories/one_vm -vv -u <user> -e "@vars.yml" playbooks/albs_on_one_vm.yml
-
Deployment fails at "Checking if GPG key exists on web_server" with 401 Unauthorized
Anything else?
Workaround
Manually set the albs_jwt_token in your inventory vars as documented in the README.
Search terms
jwt_generator albs-deploy jwt
Is there an existing issue for this?
Current Behavior
Following the README Quick Deployment for the albs-deploy repository fails without setting albs_jwt_token manually. The playbook calls library/jwt_generator.py which has a now expired hardcoded expiry.
Line 65 Expired 2026-05-01
EXPIRE_TIME=1777628461Every token it generates is already expired, causing a 401 failure at the sign-keys check and affecting other dependent services.
It's worth noting that the expired date is also referenced in the README.
Expected Behavior
The playbook generates a valid token and deployment completes successfully without needing to manually set albs_jwt_token.
Steps To Reproduce
Clone albs-deploy:
git clone git@github.com:AlmaLinux/albs-deploy.git && cd albs-deployCreate vars.yml as documented in the README Quick Deployment:
github_client: <OAuth client id>github_client_secret: <OAuth token>frontend_baseurl: http://<hostname>:8080Install ansible plugins:
ansible-galaxy install -r requirements.ymlRun:
ansible-playbook -i inventories/one_vm -vv -u <user> -e "@vars.yml" playbooks/albs_on_one_vm.ymlDeployment fails at "Checking if GPG key exists on web_server" with 401 Unauthorized
Anything else?
Workaround
Manually set the
albs_jwt_tokenin your inventory vars as documented in the README.Search terms
jwt_generator albs-deploy jwt