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
5b627096
Commit
5b627096
authored
Oct 31, 2013
by
Xavier Antoviaque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
supervisor-ora: Cleanup duplicate commands in both deploy & ease
parent
1433a5ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
28 deletions
+2
-28
playbooks/roles/ora/tasks/deploy.yml
+2
-2
playbooks/roles/ora/tasks/ease.yml
+0
-26
No files found.
playbooks/roles/ora/tasks/deploy.yml
View file @
5b627096
-
include
:
ease.yml
-
name
:
ora | See if supervisord config file `ora.conf` is installed
shell
:
"
[
-f
{{
supervisor_cfg_dir
}}/ora.conf
]
&&
echo
'Found'
||
echo
''"
register
:
ora_installed
...
...
@@ -28,6 +26,8 @@
tags
:
-
deploy
-
include
:
ease.yml
-
name
:
ora | create ora application config
template
:
src=ora.env.json.j2 dest={{ora_app_dir}}/ora.env.json
sudo_user
:
"
{{
ora_user
}}"
...
...
playbooks/roles/ora/tasks/ease.yml
View file @
5b627096
-
name
:
ora | See if edx-ora.conf is installed
shell
:
"
[
-f
/etc/init/edx-ora.conf
]
&&
echo
'Found'
||
echo
''"
register
:
edx_ora_installed
tags
:
-
deploy
-
name
:
ora | See if edx-ora-celery.conf is installed
shell
:
"
[
-f
/etc/init/edx-ora-celery.conf
]
&&
echo
'Found'
||
echo
''"
register
:
edx_ora_celery_installed
tags
:
-
deploy
# Stop ora service.
-
name
:
ora | stop edx-ora service
service
:
name=edx-ora state=stopped
when
:
edx_ora_installed.stdout == 'Found'
tags
:
-
deploy
-
name
:
ora | stop edx-ora-celery service
service
:
name=edx-ora-celery state=stopped
when
:
edx_ora_celery_installed.stdout == 'Found'
tags
:
-
deploy
# Do A Checkout
-
name
:
ora | git checkout ease repo into its base dir
git
:
dest={{ora_ease_code_dir}} repo={{ora_ease_source_repo}} version={{ora_ease_version}}
...
...
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