Commit f2e0a62f by Ibrahim

ecommerce command

parent 4d2f906f
......@@ -55,8 +55,8 @@
- name: Create Sites and Partners
shell: >
{{ COMMON_BIN_DIR }}/python.discovery {{ COMMON_BIN_DIR }}/manage.discovery
create_sites_and_partners --dns-name {{ dns_name }} --settings=course_discovery.settings.production --theme-path {{ WHITELABEL_THEME_DIR }}
{{ COMMON_BIN_DIR }}/python.discovery {{ COMMON_BIN_DIR }}/manage.discovery create_sites_and_partners
--dns-name {{ dns_name }} --settings=course_discovery.settings.production --theme-path {{ WHITELABEL_THEME_DIR }}
become_user: "{{ discovery_user }}"
environment: "{{ discovery_environment }}"
......@@ -64,3 +64,12 @@
shell: printenv
become_user: "{{ discovery_user }}"
environment: "{{ discovery_environment }}"
# Ecommere Setup
- name: Create Sites and Partners for Ecommerce
shell: >
{{ COMMON_BIN_DIR }}/python.ecommerce {{ COMMON_BIN_DIR }}/manage.ecommerce create_sites_and_partners
--dns-name {{ dns_name }} --settings=ecommerce.settings.production --theme-path {{ WHITELABEL_THEME_DIR }}
become_user: "{{ ecommerce_user }}"
environment: "{{ ecommerce_environment }}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment