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
e246c826
Commit
e246c826
authored
Oct 15, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spacing to deal with a bug introduced in ansible 1.7.2
parent
82157a04
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
14 deletions
+14
-14
playbooks/roles/discern/tasks/deploy.yml
+4
-4
playbooks/roles/edxapp/tasks/deploy.yml
+4
-4
playbooks/roles/oraclejdk/tasks/main.yml
+3
-3
playbooks/roles/splunkforwarder/tasks/main.yml
+2
-2
playbooks/roles/testcourses/tasks/deploy.yml
+1
-1
No files found.
playbooks/roles/discern/tasks/deploy.yml
View file @
e246c826
...
...
@@ -84,8 +84,8 @@
tar zxf {{ discern_nltk_tmp_file }}
rm -f {{ discern_nltk_tmp_file }}
touch {{ discern_nltk_download_url|basename }}-installed
creates={{ discern_data_dir }}/{{ discern_nltk_download_url|basename }}-installed
chdir={{ discern_data_dir }}
creates={{ discern_data_dir }}/{{ discern_nltk_download_url|basename }}-installed
chdir={{ discern_data_dir }}
sudo_user
:
"
{{
discern_user
}}"
notify
:
-
restart discern
...
...
@@ -96,7 +96,7 @@
-
name
:
django syncdb migrate and collectstatic for discern
shell
:
>
{{ discern_venv_dir }}/bin/python {{ discern_code_dir }}/manage.py {{ item }} --noinput --settings={{discern_settings}} --pythonpath={{discern_code_dir}}
chdir={{ discern_code_dir }}
chdir={{ discern_code_dir }}
sudo_user
:
"
{{
discern_user
}}"
notify
:
-
restart discern
...
...
@@ -108,7 +108,7 @@
-
name
:
django update_index for discern
shell
:
>
{{ discern_venv_dir}}/bin/python {{ discern_code_dir }}/manage.py update_index --settings={{ discern_settings }} --pythonpath={{discern_code_dir}}
chdir={{ discern_code_dir }}
chdir={{ discern_code_dir }}
sudo_user
:
"
{{
discern_user
}}"
notify
:
-
restart discern
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
e246c826
...
...
@@ -91,8 +91,8 @@
-
name
:
gem install bundler
shell
:
>
gem install bundle
chdir={{ edxapp_code_dir }}
executable=/bin/bash
chdir={{ edxapp_code_dir }}
executable=/bin/bash
environment
:
"
{{
edxapp_environment
}}"
sudo_user
:
"
{{
edxapp_user
}}"
notify
:
...
...
@@ -102,8 +102,8 @@
-
name
:
bundle install
shell
:
>
bundle install --binstubs
chdir={{ edxapp_code_dir }}
executable=/bin/bash
chdir={{ edxapp_code_dir }}
executable=/bin/bash
sudo_user
:
"
{{
edxapp_user
}}"
environment
:
"
{{
edxapp_environment
}}"
notify
:
...
...
playbooks/roles/oraclejdk/tasks/main.yml
View file @
e246c826
...
...
@@ -15,9 +15,9 @@
-
name
:
download Oracle Java
shell
:
>
curl -b gpw_e24=http%3A%2F%2Fwww.oracle.com -b oraclelicense=accept-securebackup-cookie -O -L {{ oraclejdk_url }}
executable=/bin/bash
chdir=/var/tmp
creates=/var/tmp/{{ oraclejdk_file }}
executable=/bin/bash
chdir=/var/tmp
creates=/var/tmp/{{ oraclejdk_file }}
-
name
:
create jvm dir
file
:
>
...
...
playbooks/roles/splunkforwarder/tasks/main.yml
View file @
e246c826
...
...
@@ -50,7 +50,7 @@
-
name
:
start splunk manually
shell
:
>
{{ splunkforwarder_output_dir }}/bin/splunk start --accept-license --answer-yes --no-prompt
creates={{ splunkforwarder_output_dir }}/var/lib/splunk
creates={{ splunkforwarder_output_dir }}/var/lib/splunk
when
:
download_deb.changed
register
:
started_manually
...
...
@@ -62,7 +62,7 @@
-
name
:
create boot script
shell
:
>
{{ splunkforwarder_output_dir }}/bin/splunk enable boot-start -user splunk --accept-license --answer-yes --no-prompt
creates=/etc/init.d/splunk
creates=/etc/init.d/splunk
register
:
create_boot_script
when
:
download_deb.changed
notify
:
restart splunkforwarder
...
...
playbooks/roles/testcourses/tasks/deploy.yml
View file @
e246c826
...
...
@@ -15,7 +15,7 @@
-
name
:
Untar the test courses
command
:
>
tar zxf {{ item.path|basename }}
chdir=/var/tmp/{{ item.path|basename }}
chdir=/var/tmp/{{ item.path|basename }}
with_items
:
TESTCOURSES_EXPORTS
sudo_user
:
"
{{
common_web_user
}}"
...
...
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