The root cause is the developer panel.
On the build stage, the DEBUG is True, and the developer panel is load and its asset is compressed. On the run stage(ansible deploy), the DEBUG is False and the developer panel is disable and its asset is no compressed.
https://github.com/openstack/horizon/blob/master/openstack_dashboard/enabled/_9001_developer.py#L35
The root cause is the developer panel.
On the build stage, the DEBUG is True, and the developer panel is load and its asset is compressed.
On the run stage(ansible deploy), the DEBUG is False and the developer panel is disable and its asset is no compressed.
https:/ /github. com/openstack/ horizon/ blob/master/ openstack_ dashboard/ enabled/ _9001_developer .py#L35