mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 16:28:43 -03:30
Update configuration and playbook for rabbitmq
* Purge remaining zeromq settings * Make sure we have CALLBACK_QUEUE defined where needed * Update setup playbook to not be tied to old ha primary/secondary concept
This commit is contained in:
@@ -737,9 +737,7 @@ ACTIVITY_STREAM_ENABLED_FOR_INVENTORY_SYNC = False
|
|||||||
# Internal API URL for use by inventory scripts and callback plugin.
|
# Internal API URL for use by inventory scripts and callback plugin.
|
||||||
INTERNAL_API_URL = 'http://127.0.0.1:%s' % DEVSERVER_DEFAULT_PORT
|
INTERNAL_API_URL = 'http://127.0.0.1:%s' % DEVSERVER_DEFAULT_PORT
|
||||||
|
|
||||||
# ZeroMQ callback settings.
|
CALLBACK_QUEUE = "callback_tasks"
|
||||||
CALLBACK_CONSUMER_PORT = "tcp://127.0.0.1:5556"
|
|
||||||
CALLBACK_QUEUE_PORT = "ipc:///tmp/callback_receiver.ipc"
|
|
||||||
|
|
||||||
TASK_COMMAND_PORT = 6559
|
TASK_COMMAND_PORT = 6559
|
||||||
|
|
||||||
|
|||||||
@@ -36,11 +36,6 @@ TEMPLATE_LOADERS = (
|
|||||||
if 'celeryd' in sys.argv:
|
if 'celeryd' in sys.argv:
|
||||||
SQL_DEBUG = False
|
SQL_DEBUG = False
|
||||||
|
|
||||||
# Use a different callback consumer/queue for development, to avoid a conflict
|
|
||||||
# if there is also a nightly install running on the development machine.
|
|
||||||
CALLBACK_CONSUMER_PORT = "tcp://127.0.0.1:5557"
|
|
||||||
CALLBACK_QUEUE_PORT = "ipc:///tmp/callback_receiver_dev.ipc"
|
|
||||||
|
|
||||||
CALLBACK_QUEUE = "callback_tasks"
|
CALLBACK_QUEUE = "callback_tasks"
|
||||||
|
|
||||||
# Enable PROOT for tower-qa integration tests
|
# Enable PROOT for tower-qa integration tests
|
||||||
|
|||||||
Reference in New Issue
Block a user