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
f83816d5
Commit
f83816d5
authored
Oct 29, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
places where the `shell:` syntax is incorrect
parent
5b2f2e2d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
playbooks/roles/discern/tasks/deploy.yml
+5
-4
playbooks/roles/edxapp/tasks/service_variant_config.yml
+1
-1
playbooks/roles/ora/tasks/ease.yml
+2
-1
No files found.
playbooks/roles/discern/tasks/deploy.yml
View file @
f83816d5
...
@@ -56,13 +56,14 @@
...
@@ -56,13 +56,14 @@
-
deploy
-
deploy
-
name
:
discern | install ease python package
-
name
:
discern | install ease python package
shell
:
command=
"{{discern_venv_dir}}/bin/activate; cd {{ discern_ease_code_dir }}; python setup.py install"
shell
:
"
{{discern_venv_dir}}/bin/activate;
cd
{{
discern_ease_code_dir
}};
python
setup.py
install"
tags
:
tags
:
-
deploy
-
deploy
#Needed for the ease package to work
#Needed for the ease package to work
-
name
:
discern | install nltk data using rendered shell script
-
name
:
discern | install nltk data using rendered shell script
shell
:
command="{{ discern_venv_dir }}/bin/python -m nltk.downloader -d {{ discern_nltk_data_dir }} all"
shell
:
>
{{ discern_venv_dir }}/bin/python -m nltk.downloader -d {{ discern_nltk_data_dir }} all
sudo_user
:
"
{{
discern_user
}}"
sudo_user
:
"
{{
discern_user
}}"
tags
:
tags
:
-
deploy
-
deploy
...
@@ -71,7 +72,7 @@
...
@@ -71,7 +72,7 @@
#support virtualenvs as of this comment
#support virtualenvs as of this comment
-
name
:
discern | django syncdb migrate and collectstatic for discern
-
name
:
discern | django syncdb migrate and collectstatic for discern
shell
:
>
shell
:
>
command="{{ discern_venv_dir }}/bin/python {{discern_code_dir}}/manage.py {{item}} --noinput --settings={{discern_settings}} --pythonpath={{discern_code_dir}}"
{{ 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
}}"
sudo_user
:
"
{{
discern_user
}}"
with_items
:
with_items
:
...
@@ -83,7 +84,7 @@
...
@@ -83,7 +84,7 @@
#Have this separate from the other three because it doesn't take the noinput flag
#Have this separate from the other three because it doesn't take the noinput flag
-
name
:
discern | django update_index for discern
-
name
:
discern | django update_index for discern
shell
:
>
shell
:
>
command="{{ discern_venv_dir}}/bin/python {{discern_code_dir}}/manage.py update_index --settings={{discern_settings}} --pythonpath={{discern_code_dir}}"
{{ 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
}}"
sudo_user
:
"
{{
discern_user
}}"
tags
:
tags
:
...
...
playbooks/roles/edxapp/tasks/service_variant_config.yml
View file @
f83816d5
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
-
name
:
edxapp | gather {{ item }} static assets with rake
-
name
:
edxapp | gather {{ item }} static assets with rake
shell
:
>
shell
:
>
command=
SERVICE_VARIANT={{ item }} rake {{ item }}:gather_assets:aws
SERVICE_VARIANT={{ item }} rake {{ item }}:gather_assets:aws
executable=/bin/bash
executable=/bin/bash
chdir={{ edxapp_code_dir }}
chdir={{ edxapp_code_dir }}
sudo_user
:
"
{{
edxapp_user
}}"
sudo_user
:
"
{{
edxapp_user
}}"
...
...
playbooks/roles/ora/tasks/ease.yml
View file @
f83816d5
...
@@ -53,7 +53,8 @@
...
@@ -53,7 +53,8 @@
-
deploy
-
deploy
-
name
:
ora | install ease python package
-
name
:
ora | install ease python package
shell
:
command="{{ora_ease_venv_dir}}/bin/activate; cd {{ora_ease_code_dir}}; python setup.py install"
shell
:
>
{{ ora_ease_venv_dir }}/bin/activate; cd {{ ora_ease_code_dir }}; python setup.py install
sudo_user
:
"
{{
ora_user
}}"
sudo_user
:
"
{{
ora_user
}}"
tags
:
tags
:
-
deploy
-
deploy
...
...
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