#33 used Jinja rejectattr('enabled', 'equalto', false) to skip stopped apps. That filter requires the key, so every host_apps row that omits enabled (the documented default) crashed deploy on all webservers before git/compose.
Filter with item.enabled | default(true) instead, in app-deploy and web-static. print_forge (enabled: false) still skipped. url_shortening_service and every other omitted-key row deploy again.
Confirm print_forge is still not started (no compose up on 8007/8019)
Closes #35.
## Summary
- `#33` used Jinja `rejectattr('enabled', 'equalto', false)` to skip stopped apps. That filter **requires** the key, so every `host_apps` row that omits `enabled` (the documented default) crashed deploy on all webservers before git/compose.
- Filter with `item.enabled | default(true)` instead, in `app-deploy` and `web-static`. `print_forge` (`enabled: false`) still skipped. `url_shortening_service` and every other omitted-key row deploy again.
## Test plan
- [ ] `ansible-playbook playbooks/deploy-apps.yml --syntax-check`
- [ ] Redeploy `url_shortening_service` beta: `deploy.sh --app url_shortening_service --env beta --ref <sha>`
- [ ] Confirm `print_forge` is still not started (no compose up on 8007/8019)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #35.
Summary
#33used Jinjarejectattr('enabled', 'equalto', false)to skip stopped apps. That filter requires the key, so everyhost_appsrow that omitsenabled(the documented default) crashed deploy on all webservers before git/compose.item.enabled | default(true)instead, inapp-deployandweb-static.print_forge(enabled: false) still skipped.url_shortening_serviceand every other omitted-key row deploy again.Test plan
ansible-playbook playbooks/deploy-apps.yml --syntax-checkurl_shortening_servicebeta:deploy.sh --app url_shortening_service --env beta --ref <sha>print_forgeis still not started (no compose up on 8007/8019)rejectattr('enabled') raised on every row that omitted the key, which blocked all app deploys after #33 — including url_shortening_service.