- name: Configure instance(s)
  hosts: all
  sudo: True
  gather_facts: True
  vars:
    migrate_db: 'yes'
    openid_workaround: true
    devstack: true
    disable_edx_services: true
    mongo_enable_journal: false
    EDXAPP_NO_PREREQ_INSTALL: 0
    COMMON_MOTD_TEMPLATE: 'devstack_motd.tail.j2'
    COMMON_SSH_PASSWORD_AUTH: "yes"
    ENABLE_LEGACY_ORA: !!null
    EDXAPP_LMS_BASE: 127.0.0.1:8000
    EDXAPP_OAUTH_ENFORCE_SECURE: false
    EDXAPP_LMS_BASE_SCHEME: http
  roles:
    - edx_ansible
    - mysql
    - edxlocal
    - mongo
    - edxapp
    - oraclejdk
    - elasticsearch
    - forum
    - ecommerce
    - ecomworker
    - { role: 'rabbitmq', rabbitmq_ip: '127.0.0.1' }
    - programs
    - role: notifier
      NOTIFIER_DIGEST_TASK_INTERVAL: "5"
    - role: ora
      when: ENABLE_LEGACY_ORA
    - browsers
    - browsermob-proxy
    - local_dev
    - demo
    - oauth_client_setup

- name: Configure instance(s)
  hosts: all
  sudo: True
  gather_facts: True
  vars:
    migrate_db: 'yes'
    openid_workaround: true
    devstack: true
    disable_edx_services: true
    mongo_enable_journal: false
    EDXAPP_NO_PREREQ_INSTALL: 0
    COMMON_MOTD_TEMPLATE: 'devstack_motd.tail.j2'
    COMMON_SSH_PASSWORD_AUTH: "yes"
    ENABLE_LEGACY_ORA: !!null
    EDXAPP_LMS_BASE: 127.0.0.1:8000
    EDXAPP_OAUTH_ENFORCE_SECURE: false
    EDXAPP_LMS_BASE_SCHEME: http
    ECOMMERCE_DJANGO_SETTINGS_MODULE: "ecommerce.settings.devstack"
  roles:
    - edx_ansible
    - mysql
    - edxlocal
    - mongo
    - edxapp
    - oraclejdk
    - elasticsearch
    - forum
    - ecommerce
    - ecomworker
    - { role: 'rabbitmq', rabbitmq_ip: '127.0.0.1' }
    - programs
    - role: notifier
      NOTIFIER_DIGEST_TASK_INTERVAL: "5"
    - role: ora
      when: ENABLE_LEGACY_ORA
    - browsers
    - browsermob-proxy
    - local_dev
    - demo
    - oauth_client_setup

Change ECOMMERCE_DJANGO_SETTINGS_MODULE to use devstack settings.
Change ECOMMERCE_DJANGO_SETTINGS_MODULE to use devstack settings.
