Commit b792bad0 by Ibrahim

add argument for whitelabel theme path

parent 41d8168a
...@@ -3,4 +3,6 @@ WHITELABEL_MYSQL_COMMANDS: ...@@ -3,4 +3,6 @@ WHITELABEL_MYSQL_COMMANDS:
- "CREATE USER 'discov001'@'localhost' IDENTIFIED BY 'password';" - "CREATE USER 'discov001'@'localhost' IDENTIFIED BY 'password';"
- "GRANT ALL PRIVILEGES ON discovery.* TO 'discov001'@'localhost';" - "GRANT ALL PRIVILEGES ON discovery.* TO 'discov001'@'localhost';"
WHITELABEL_THEME_DIR: "/edx/src/edx-themes/edx-platform"
discovery_code_dir: "{{ discovery_home }}/{{ discovery_service_name }}" discovery_code_dir: "{{ discovery_home }}/{{ discovery_service_name }}"
- name: Create Sites and Themes - name: Create Sites and Themes
shell: > shell: >
{{ COMMON_BIN_DIR }}/python.edxapp {{ COMMON_BIN_DIR }}/manage.edxapp lms --settings={{ COMMON_EDXAPP_SETTINGS }} {{ COMMON_BIN_DIR }}/python.edxapp {{ COMMON_BIN_DIR }}/manage.edxapp lms --settings={{ COMMON_EDXAPP_SETTINGS }}
create_sites_and_configurations --dns-name {{ dns_name }} create_sites_and_configurations --dns-name {{ dns_name }} --theme-path {{ WHITELABEL_THEME_DIR }}
become_user: "{{ edxapp_user }}" become_user: "{{ edxapp_user }}"
environment: "{{ edxapp_environment }}" environment: "{{ edxapp_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