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
250f1f52
Commit
250f1f52
authored
Feb 03, 2016
by
arbabnazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
address all the comments
parent
0c0fa7b0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
19 deletions
+23
-19
playbooks/edx-east/asqatasun.yml
+0
-1
playbooks/roles/asqatasun/defaults/main.yml
+14
-9
playbooks/roles/asqatasun/tasks/main.yml
+9
-9
playbooks/roles/asqatasun/templates/etc/init.d/xvfb.j2
+0
-0
playbooks/roles/asqatasun/templates/etc/mysql/conf.d/asqatasun.cnf.j2
+0
-0
No files found.
playbooks/edx-east/asqatasun.yml
View file @
250f1f52
...
...
@@ -3,6 +3,5 @@
sudo
:
True
gather_facts
:
True
roles
:
-
aws
-
mysql
-
asqatasun
playbooks/roles/asqatasun/defaults/main.yml
View file @
250f1f52
---
ASQATASUN_LOCALE
:
'
en_US.UTF-8'
ASQATASUN_DATABASE_NAME
:
'
asqatasun'
ASQATASUN_DATABASE_USER
:
'
asqatasun'
ASQATASUN_DATABASE_PASSWORD
:
'
changeme'
ASQATASUN_DATABASE_HOST
:
'
localhost'
ASQATASUN_DATABASE_ENCODING
:
'
utf8'
ASQATASUN_DATABASE_COLLATION
:
'
utf8_general_ci'
ASQATASUN_URL
:
'
http://localhost:8080/asqatasun/'
ASQATASUN_ADMIN_EMAIL
:
'
admin@example.com'
ASQATASUN_ADMIN_PASSWORD
:
'
changeme'
asqatasun_debian_pkgs
:
-
wget
-
bzip2
...
...
@@ -15,7 +26,7 @@ asqatasun_debian_pkgs:
-
mailutils
-
postfix
locale
:
'
en_US.UTF-8'
locale
:
"
{{
ASQATASUN_LOCALE
}}"
asqatasun_download_link
:
"
http://download.asqatasun.org/asqatasun-latest.tar.gz"
# Asqatasun version that you want to install, get the full list of releases
...
...
@@ -37,19 +48,13 @@ init_connect: "SET NAMES utf8"
character_set_server
:
"
utf8"
mysql_max_allowed_packet
:
"
64M"
ASQATASUN_DATABASE_NAME
:
'
asqatasun'
ASQATASUN_DATABASE_USER
:
'
asqatasun'
ASQATASUN_DATABASE_PASSWORD
:
'
changeme'
ASQATASUN_DATABASE_HOST
:
'
localhost'
ASQATASUN_URL
:
'
http://localhost:8080/asqatasun/'
ASQATASUN_ADMIN_EMAIL
:
'
admin@example.com'
ASQATASUN_ADMIN_PASSWORD
:
'
changeme'
asqatasun_parameters
:
db_name
:
"
{{
ASQATASUN_DATABASE_NAME
}}"
db_user
:
"
{{
ASQATASUN_DATABASE_USER
}}"
db_password
:
"
{{
ASQATASUN_DATABASE_PASSWORD
}}"
db_host
:
"
{{
ASQATASUN_DATABASE_HOST
}}"
db_encoding
:
"
{{
ASQATASUN_DATABASE_ENCODING
}}"
db_collation
:
"
{{
ASQATASUN_DATABASE_COLLATION
}}"
url
:
"
{{
ASQATASUN_URL
}}"
admin_email
:
"
{{
ASQATASUN_ADMIN_EMAIL
}}"
admin_passwd
:
"
{{
ASQATASUN_ADMIN_PASSWORD
}}"
playbooks/roles/asqatasun/tasks/main.yml
View file @
250f1f52
...
...
@@ -38,7 +38,7 @@
-
name
:
Copy the asqatasun.cnf template to /etc/mysql/conf.d
template
:
dest
:
/etc/mysql/conf.d/asqatasun.cnf
src
:
asqatasun.cnf.j2
src
:
etc/mysql/conf.d/
asqatasun.cnf.j2
owner
:
root
group
:
root
register
:
my_cnf
...
...
@@ -67,7 +67,7 @@
-
name
:
Copy the xvfb template to /etc/init.d
template
:
dest
:
/etc/init.d/xvfb
src
:
xvfb.j2
src
:
etc/init.d/
xvfb.j2
owner
:
root
group
:
root
mode
:
755
...
...
@@ -119,22 +119,22 @@
mysql_db
:
name
:
"
{{
asqatasun_parameters.db_name
}}"
state
:
present
encoding
:
utf8
collation
:
utf8_general_ci
encoding
:
"
{{
asqatasun_parameters.db_encoding
}}"
collation
:
"
{{
asqatasun_parameters.db_collation
}}"
tags
:
-
install
-
install:base
-
migrate
-
migrate:db
-
name
:
Create MySQL user for Asqatasun
mysql_user
:
name
:
"
{{
asqatasun_parameters.db_user
}}"
password
:
"
{{
asqatasun_parameters.db_password
}}"
host
:
localhost
host
:
"
{{
asqatasun_parameters.db_host
}}"
priv
:
"
{{
asqatasun_parameters.db_name
}}.*:ALL"
state
:
present
tags
:
-
install
-
install:base
-
migrate
-
migrate:db
-
name
:
Check that asqatasun app is running
shell
:
>
...
...
playbooks/roles/asqatasun/templates/xvfb.j2
→
playbooks/roles/asqatasun/templates/
etc/init.d/
xvfb.j2
View file @
250f1f52
File moved
playbooks/roles/asqatasun/templates/asqatasun.cnf.j2
→
playbooks/roles/asqatasun/templates/
etc/mysql/conf.d/
asqatasun.cnf.j2
View file @
250f1f52
File moved
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