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
a2bf90e3
Commit
a2bf90e3
authored
Jun 25, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changing workaround
parent
a8df1341
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
+13
-5
playbooks/edx_provision_test.yml
+0
-0
playbooks/roles/edxapp/tasks/deploy.yml
+1
-1
playbooks/roles/launch_instance/tasks/main.yml
+12
-4
No files found.
playbooks/edx_
sandbox_jenkins
.yml
→
playbooks/edx_
provision_test
.yml
View file @
a2bf90e3
File moved
playbooks/roles/edxapp/tasks/deploy.yml
View file @
a2bf90e3
...
...
@@ -261,7 +261,7 @@
# This is necessary for the local mysql5.5, not sure if this fix will ever get merged
# We should never do this in production
-
name
:
mysql5.5 workaround - NOT FOR PRODUCTION
shell
:
sed -i -e 's/claimed_id = models.TextField(max_length=2047
/claimed_id = models.TextField(max_length=254
/' /opt/edx/lib/python2.7/site-packages/django_openid_auth/models.py
shell
:
sed -i -e 's/claimed_id = models.TextField(max_length=2047
, unique=True/claimed_id = models.TextField(max_length=2047
/' /opt/edx/lib/python2.7/site-packages/django_openid_auth/models.py
when
:
mysql5_workaround is defined
-
name
:
syncdb and migrate
...
...
playbooks/roles/launch_instance/tasks/main.yml
View file @
a2bf90e3
...
...
@@ -5,10 +5,18 @@
local_action
:
ec2 keypair=$keypair group=$security_group instance_type=$instance_type image=$image wait=true region=$region
register
:
ec2
-
name
:
Add new instance to host group
local_action
:
add_host hostname=${item.public_ip} groupname=launched
with_items
:
${ec2.instances}
-
name
:
Launch instance
local_action
:
module
:
ec2
keypair
:
$keypair
group
:
$security_group
instance_type
:
$instance_type
image
:
$image
wait
:
true
region
:
$region
instance_tags
:
$instance_tags
register
:
ec2
-
name
:
Wait for SSH to come up
local_action
:
wait_for host=${item.public_dns_name} port=22 delay=60 timeout=320 state=started
with_items
:
${ec2.instances}
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