Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
1fb234de
Commit
1fb234de
authored
9 years ago
by
Renzo Lucioni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Respond to feedback
parent
01508715
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
16 deletions
+19
-16
playbooks/roles/ecommerce/tasks/main.yml
+0
-15
playbooks/roles/local_dev/defaults/main.yml
+4
-0
playbooks/roles/local_dev/tasks/main.yml
+15
-0
playbooks/vagrant-devstack.yml
+0
-1
No files found.
playbooks/roles/ecommerce/tasks/main.yml
View file @
1fb234de
...
...
@@ -135,18 +135,3 @@
name={{ ecommerce_service_name }}
when
:
not disable_edx_services
sudo_user
:
"
{{
supervisor_service_user
}}"
-
name
:
create OAuth2 Client
shell
:
>
{{ COMMON_BIN_DIR }}/manage.edxapp lms --settings=aws
create_oauth2_client
"{{ ECOMMERCE_ECOMMERCE_URL_ROOT }}"
"{{ ECOMMERCE_ECOMMERCE_URL_ROOT }}/complete/edx-oidc/"
confidential
--client_name "{{ ecommerce_service_name }}"
--client_id "{{ ECOMMERCE_SOCIAL_AUTH_EDX_OIDC_KEY }}"
--client_secret "{{ ECOMMERCE_SOCIAL_AUTH_EDX_OIDC_SECRET }}"
--trusted
sudo_user
:
"
{{
edxapp_user
}}"
environment
:
"
{{
edxapp_environment
}}"
when
:
create_oauth2_clients
This diff is collapsed.
Click to expand it.
playbooks/roles/local_dev/defaults/main.yml
View file @
1fb234de
...
...
@@ -29,3 +29,7 @@ local_dev_pkgs:
-
openbox
localdev_jscover_version
:
"
1.0.2"
localdev_oauth2_clients
:
-
{
name
:
"
{{
ecommerce_service_name
}}"
,
url_root
:
"
{{
ECOMMERCE_ECOMMERCE_URL_ROOT
}}"
,
id
:
"
{{
ECOMMERCE_SOCIAL_AUTH_EDX_OIDC_KEY
}}"
,
secret
:
"
{{
ECOMMERCE_SOCIAL_AUTH_EDX_OIDC_SECRET
}}"
}
This diff is collapsed.
Click to expand it.
playbooks/roles/local_dev/tasks/main.yml
View file @
1fb234de
...
...
@@ -76,3 +76,18 @@
-
name
:
add preview.localhost to /etc/hosts
shell
:
sed -i -r 's/^127.0.0.1\s+.*$/127.0.0.1 localhost preview.localhost/' /etc/hosts
sudo
:
yes
-
name
:
create OAuth2 Clients
shell
:
>
{{ COMMON_BIN_DIR }}/python.edxapp {{ COMMON_BIN_DIR }}/manage.edxapp lms --settings=aws
create_oauth2_client
{{ item.url_root }}
"{{ item.url_root }}/complete/edx-oidc/"
confidential
--client_name {{ item.name }}
--client_id {{ item.id }}
--client_secret {{ item.secret }}
--trusted
sudo_user
:
"
{{
edxapp_user
}}"
environment
:
"
{{
edxapp_environment
}}"
with_items
:
localdev_oauth2_clients
This diff is collapsed.
Click to expand it.
playbooks/vagrant-devstack.yml
View file @
1fb234de
...
...
@@ -8,7 +8,6 @@
devstack
:
true
disable_edx_services
:
true
mongo_enable_journal
:
false
create_oauth2_clients
:
true
EDXAPP_NO_PREREQ_INSTALL
:
0
COMMON_MOTD_TEMPLATE
:
'
devstack_motd.tail.j2'
COMMON_SSH_PASSWORD_AUTH
:
"
yes"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment