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
14 stars 13 forks source link

python3 fix for lms template jinja #351

Closed thraxil closed 3 years ago

thraxil commented 3 years ago

iteritems() was removed from python3. This causes the ansible playbook to fail when it processes this template.

{"ansible_loop_var": "item", "changed": false, "item": "maxitest5-staging.appsembler.com", "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'iteritems'"}

Upstream fixed it in lms.j2 and cms.j2 in 2d4c3d0683 but since we have a slightly refactored setup with lms-common-settings.j2 split out, we didn't get the fix and have to do this manually in our fork.

thraxil commented 3 years ago

Need to wait for #352 to fix the failing builds.