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
f76ecba8
Commit
f76ecba8
authored
Dec 06, 2017
by
Cory Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OPS-2492 add worker config
parent
836deaf8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
playbooks/roles/ecomworker/defaults/main.yml
+2
-1
No files found.
playbooks/roles/ecomworker/defaults/main.yml
View file @
f76ecba8
...
...
@@ -33,8 +33,9 @@ ECOMMERCE_WORKER_BROKER_PASSWORD: 'celery'
ECOMMERCE_WORKER_BROKER_HOST
:
'
{{
ansible_default_ipv4.address
}}'
# Used as the default RabbitMQ port.
ECOMMERCE_WORKER_BROKER_PORT
:
5672
ECOMMERCE_WORKER_BROKER_TRANSPORT
:
'
amqp'
# Default broker URL. See http://celery.readthedocs.org/en/latest/configuration.html#broker-url.
ECOMMERCE_WORKER_BROKER_URL
:
'
amqp
://{{
ECOMMERCE_WORKER_BROKER_USERNAME
}}:{{
ECOMMERCE_WORKER_BROKER_PASSWORD
}}@{{
ECOMMERCE_WORKER_BROKER_HOST
}}:{{
ECOMMERCE_WORKER_BROKER_PORT
}}'
ECOMMERCE_WORKER_BROKER_URL
:
'
{{
ECOMMERCE_WORKER_BROKER_TRANSPORT
}}
://{{
ECOMMERCE_WORKER_BROKER_USERNAME
}}:{{
ECOMMERCE_WORKER_BROKER_PASSWORD
}}@{{
ECOMMERCE_WORKER_BROKER_HOST
}}:{{
ECOMMERCE_WORKER_BROKER_PORT
}}'
ECOMMERCE_WORKER_CONCURRENCY
:
4
# END CELERY
...
...
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