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
edx
configuration
Commits
6299f906
Commit
6299f906
authored
Mar 20, 2014
by
Fred Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ensure python-mysqldb is installed before we attempt to create_dbs
parent
5c32d132
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
playbooks/edx-east/create_dbs.yml
+5
-0
No files found.
playbooks/edx-east/create_dbs.yml
View file @
6299f906
...
...
@@ -41,6 +41,11 @@
tasks
:
-
fail
:
msg="COMMON_ENVIRONMENT and COMMON_DEPLOYMENT need to be defined to use this play"
when
:
COMMON_ENVIRONMENT is not defined or COMMON_DEPLOYMENT is not defined
-
name
:
install python mysqldb module
apt
:
pkg={{item}} install_recommends=no state=present update_cache=yes
sudo
:
yes
with_items
:
-
python-mysqldb
-
name
:
create mysql databases for the edX stack
mysql_db
:
>
db={{ item[0] }}{{ item[1].db_name }}
...
...
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