You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update alloy.j2 to correctly embed env file variable options
Env file variable options such as `--stability.level public-preview` in your Ansible configuration cause them to be embedded without being escaped in double quotes in the env file.
This causes upgrade failures whereby the `prerm` script for the alloy package attempts executing the unescaped half, causing dpkg to spit out the error `/var/lib/dpkg/info/alloy.prerm: 6: /etc/default/alloy: public-preview: not found` for a configuration like so
```
# Ansible Managed
CONFIG_FILE="/etc/alloy/config.alloy"
RESTART_ON_UPGRADE=true
CUSTOM_ARGS=--stability.level public-preview
```
0 commit comments