#33 made deploy skip host_apps.enabled: false so a stopped app cannot come back via CI. The filter is:
deploy_targets:"{{ matching_host_apps | rejectattr('enabled', 'equalto', false) | list }}"
Jinja rejectattr('enabled', …) requires the key on every dict. Almost every host_apps row omits enabled (omit = enabled). That is the documented default.
Symptom: every --app deploy dies on all webservers before git/compose:
object of type 'dict' has no attribute 'enabled'
Origin: roles/app-deploy/tasks/main.yml:40
Hit on url_shortening_service beta (69d8b3e). Same bug on the skip-debug selectattr('enabled', …) loop and roles/web-static/tasks/main.yml.
Do: treat missing enabled as true. Keep enabled: false (print_forge) skipped. Do not add enabled: true to every inventory row.
`#33` made deploy skip `host_apps.enabled: false` so a stopped app cannot come back via CI. The filter is:
```yaml
deploy_targets: "{{ matching_host_apps | rejectattr('enabled', 'equalto', false) | list }}"
```
Jinja `rejectattr('enabled', …)` requires the key on **every** dict. Almost every `host_apps` row omits `enabled` (omit = enabled). That is the documented default.
**Symptom:** every `--app` deploy dies on all webservers before git/compose:
```
object of type 'dict' has no attribute 'enabled'
Origin: roles/app-deploy/tasks/main.yml:40
```
Hit on `url_shortening_service` beta (`69d8b3e`). Same bug on the skip-debug `selectattr('enabled', …)` loop and `roles/web-static/tasks/main.yml`.
**Do:** treat missing `enabled` as true. Keep `enabled: false` (print_forge) skipped. Do not add `enabled: true` to every inventory row.
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.
#33made deploy skiphost_apps.enabled: falseso a stopped app cannot come back via CI. The filter is:Jinja
rejectattr('enabled', …)requires the key on every dict. Almost everyhost_appsrow omitsenabled(omit = enabled). That is the documented default.Symptom: every
--appdeploy dies on all webservers before git/compose:Hit on
url_shortening_servicebeta (69d8b3e). Same bug on the skip-debugselectattr('enabled', …)loop androles/web-static/tasks/main.yml.Do: treat missing
enabledas true. Keepenabled: false(print_forge) skipped. Do not addenabled: trueto every inventory row.