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
a4bccdb7
Commit
a4bccdb7
authored
8 years ago
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add tags to ecomworker.
parent
1e59c4a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
playbooks/roles/ecomworker/tasks/main.yml
+25
-0
No files found.
playbooks/roles/ecomworker/tasks/main.yml
View file @
a4bccdb7
...
...
@@ -17,6 +17,9 @@
state
:
present
become_user
:
'
{{
ecommerce_worker_user
}}'
with_items
:
"
{{
ecommerce_worker_requirements
}}"
tags
:
-
install
-
install:app-requirements
-
name
:
write out the supervisor wrapper
template
:
...
...
@@ -25,6 +28,9 @@
mode
:
0650
owner
:
'
{{
supervisor_user
}}'
group
:
'
{{
common_web_user
}}'
tags
:
-
install
-
install:configuration
-
name
:
write supervisord config
template
:
...
...
@@ -33,6 +39,9 @@
owner
:
'
{{
supervisor_user
}}'
group
:
'
{{
common_web_user
}}'
mode
:
0644
tags
:
-
install
-
install:configuration
-
name
:
setup the ecommerce_worker env file
template
:
...
...
@@ -41,6 +50,9 @@
owner
:
'
{{
ecommerce_worker_user
}}'
group
:
'
{{
ecommerce_worker_user
}}'
mode
:
0644
tags
:
-
install
-
install:configuration
-
name
:
enable supervisor script
file
:
...
...
@@ -49,10 +61,17 @@
state
:
link
force
:
yes
when
:
not disable_edx_services
tags
:
-
install
-
install:configuration
-
name
:
update supervisor configuration
shell
:
'
{{
supervisor_ctl
}}
-c
{{
supervisor_cfg
}}
update'
when
:
not disable_edx_services
tags
:
-
manage
-
manage:start
-
name
:
create symlinks from the venv bin dir
file
:
...
...
@@ -62,6 +81,9 @@
with_items
:
-
python
-
pip
tags
:
-
install
-
install:app-requirements
-
name
:
restart the applicaton
supervisorctl
:
...
...
@@ -71,3 +93,6 @@
name
:
'
{{
ecommerce_worker_service_name
}}'
when
:
not disable_edx_services
become_user
:
'
{{
supervisor_service_user
}}'
tags
:
-
manage
-
manage:start
This diff is collapsed.
Click to expand it.
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