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
75937dd2
Commit
75937dd2
authored
Dec 04, 2015
by
arbabnazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
standardize the roel
parent
2952b945
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
17 deletions
+24
-17
playbooks/roles/tanaguru/defaults/main.yml
+14
-7
playbooks/roles/tanaguru/tasks/main.yml
+10
-10
No files found.
playbooks/roles/tanaguru/defaults/main.yml
View file @
75937dd2
...
...
@@ -16,10 +16,17 @@ tanaguru_download_link: "http://download.tanaguru.org/Tanaguru/tanaguru-3.1.0.i3
# Default is en-US in our example
fixfox_esr_link
:
"
http://download-origin.cdn.mozilla.net/pub/firefox/releases/24.0esr/linux-x86_64/en-US/firefox-24.0esr.tar.bz2"
TANAGURU_DATABASE_NAME
:
'
tgdatabase'
TANAGURU_DATABASE_USER
:
'
tguser'
TANAGURU_DATABASE_PASSWORD
:
'
tgPassword'
TANAGURU_URL
:
'
http://localhost:8080/tanaguru/'
TANAGURU_ADMIN_EMAIL
:
'
admin@example.com'
TANAGURU_ADMIN_PASSWORD
:
'
tanaguru15'
tanaguru_parameters
:
tanaguru_database
:
tgdatabase
tanaguru_db_user
:
tguser
tanaguru_db_password
:
"
tgPassword"
tanaguru_url
:
"
http://localhost:8080/tanaguru/"
tanaguru_admin_email
:
"
admin@example.com"
tg_admin_passwd
:
"
tanaguru15"
\ No newline at end of file
db_name
:
"
{{
TANAGURU_DATABASE_NAME
}}"
db_user
:
"
{{
TANAGURU_DATABASE_USER
}}"
db_password
:
"
{{
TANAGURU_DATABASE_PASSWORD
}}"
url
:
"
{{
TANAGURU_URL
}}"
admin_email
:
"
{{
TANAGURU_ADMIN_EMAIL
}}"
admin_passwd
:
"
{{
TANAGURU_ADMIN_PASSWORD
}}"
\ No newline at end of file
playbooks/roles/tanaguru/tasks/main.yml
View file @
75937dd2
...
...
@@ -122,7 +122,7 @@
-
name
:
Create MySQL database for TanaGuru
mysql_db
:
name
:
"
{{
tanaguru_parameters.
tanaguru_databas
e
}}"
name
:
"
{{
tanaguru_parameters.
db_nam
e
}}"
state
:
present
encoding
:
utf8
collation
:
utf8_general_ci
...
...
@@ -132,10 +132,10 @@
-
name
:
Create MySQL user for TanaGuru
mysql_user
:
name
:
"
{{
tanaguru_parameters.
tanaguru_
db_user
}}"
password
:
"
{{
tanaguru_parameters.
tanaguru_
db_password
}}"
name
:
"
{{
tanaguru_parameters.db_user
}}"
password
:
"
{{
tanaguru_parameters.db_password
}}"
host
:
localhost
priv
:
"
{{
tanaguru_parameters.
tanaguru_databas
e
}}.*:ALL"
priv
:
"
{{
tanaguru_parameters.
db_nam
e
}}.*:ALL"
state
:
present
tags
:
-
install
...
...
@@ -151,14 +151,14 @@
-
name
:
Install the TanaGuru
shell
:
>
/bin/echo "yes" | ./install.sh --mysql-tg-user "{{ tanaguru_parameters.
tanaguru_
db_user }}" \
--mysql-tg-passwd "{{ tanaguru_parameters.
tanaguru_
db_password }}" \
--mysql-tg-db "{{ tanaguru_parameters.
tanaguru_databas
e }}" \
--tanaguru-url "{{ tanaguru_parameters.
tanaguru_
url }}" \
/bin/echo "yes" | ./install.sh --mysql-tg-user "{{ tanaguru_parameters.db_user }}" \
--mysql-tg-passwd "{{ tanaguru_parameters.db_password }}" \
--mysql-tg-db "{{ tanaguru_parameters.
db_nam
e }}" \
--tanaguru-url "{{ tanaguru_parameters.url }}" \
--tomcat-webapps /var/lib/tomcat7/webapps \
--tomcat-user tomcat7 \
--tg-admin-email "{{ tanaguru_parameters.
tanaguru_
admin_email }}" \
--tg-admin-passwd "{{ tanaguru_parameters.
tg_
admin_passwd }}" \
--tg-admin-email "{{ tanaguru_parameters.admin_email }}" \
--tg-admin-passwd "{{ tanaguru_parameters.admin_passwd }}" \
--firefox-esr-path /opt/firefox/firefox \
--display-port ":99.1"
args
:
...
...
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