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
caeb1546
Commit
caeb1546
authored
Jun 08, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restart alton if the code changes.
parent
7ba6be16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
playbooks/roles/alton/defaults/main.yml
+1
-1
playbooks/roles/alton/tasks/deploy.yml
+2
-0
No files found.
playbooks/roles/alton/defaults/main.yml
View file @
caeb1546
...
...
@@ -35,7 +35,7 @@ alton_venv_dir: "{{ alton_venvs_dir }}/alton"
alton_venv_bin
:
"
{{
alton_venv_dir
}}/bin"
alton_source_repo
:
"
https://github.com/edx/alton.git"
alton_version
:
"
HEAD
"
alton_version
:
"
feanil/inspect_aws
"
alton_requirements_file
:
"
{{
alton_code_dir
}}/requirements.txt"
alton_supervisor_wrapper
:
"
{{
alton_app_dir
}}/alton-supervisor.sh"
...
...
playbooks/roles/alton/tasks/deploy.yml
View file @
caeb1546
...
...
@@ -3,6 +3,7 @@
dest="{{ alton_code_dir }}" repo="{{ alton_source_repo }}"
version="{{ alton_version }}" accept_hostkey=yes
sudo_user
:
"
{{
alton_user
}}"
notify
:
restart alton
-
name
:
install the requirements
pip
:
>
...
...
@@ -11,6 +12,7 @@
state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
sudo_user
:
"
{{
alton_user
}}"
notify
:
restart alton
-
name
:
create the supervisor wrapper
template
:
>
...
...
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