Switch to using callback queue by default

* Fix an issue where we grab the wrong setting for the callback
  connection
* Remove old ansible.cfg that we shipped with the setup playbook for
  centos 6
This commit is contained in:
Matthew Jones
2016-11-21 13:25:47 -05:00
parent 6ce3a71f7d
commit c6ebdb9b26
2 changed files with 2 additions and 1 deletions

View File

@@ -48,7 +48,7 @@ class FifoQueue(object):
class CallbackQueueDispatcher(object):
def __init__(self):
self.callback_connection = getattr(settings, 'CALLBACK_CONNECTION', None)
self.callback_connection = getattr(settings, 'BROKER_URL', None)
self.connection_queue = getattr(settings, 'CALLBACK_QUEUE', '')
self.connection = None
self.exchange = None