appsembler / configuration

a simple, but flexible, way for anyone to stand up an instance of the edX platform that is fully configured and ready-to-go
GNU Affero General Public License v3.0
15 stars 13 forks source link

Tahoe: synchronize webpack-stats.json to all edxapp servers #362

Closed thraxil closed 3 years ago

thraxil commented 3 years ago

attempt at fixing the webpack inconsistency issue.

Ansible's synchronize and delegate_to combine in a bit of a confusing way, but the result is that it copies the designated file from the delegate_to machine to the current host in the play (we've done this before though, eg, in our migrate scripts: https://github.com/appsembler/scripts/blob/master/migrate-edx-cluster/migrate_mongo.yml#L66-L70). With the when conditional on there, this should only run on the hosts that aren't the first in the rolling deploy (the first is the one that generates the files in the first place).