|
|
@ -14,6 +14,7 @@ class CeleryBaseService(BaseService):
|
|
|
|
print('\n- Start Celery as Distributed Task Queue: {}'.format(self.queue.capitalize()))
|
|
|
|
print('\n- Start Celery as Distributed Task Queue: {}'.format(self.queue.capitalize()))
|
|
|
|
ansible_config_path = os.path.join(settings.APPS_DIR, 'ops', 'ansible', 'ansible.cfg')
|
|
|
|
ansible_config_path = os.path.join(settings.APPS_DIR, 'ops', 'ansible', 'ansible.cfg')
|
|
|
|
ansible_modules_path = os.path.join(settings.APPS_DIR, 'ops', 'ansible', 'modules')
|
|
|
|
ansible_modules_path = os.path.join(settings.APPS_DIR, 'ops', 'ansible', 'modules')
|
|
|
|
|
|
|
|
os.environ.setdefault('LC_ALL', 'C.UTF-8')
|
|
|
|
os.environ.setdefault('PYTHONOPTIMIZE', '1')
|
|
|
|
os.environ.setdefault('PYTHONOPTIMIZE', '1')
|
|
|
|
os.environ.setdefault('ANSIBLE_FORCE_COLOR', 'True')
|
|
|
|
os.environ.setdefault('ANSIBLE_FORCE_COLOR', 'True')
|
|
|
|
os.environ.setdefault('ANSIBLE_CONFIG', ansible_config_path)
|
|
|
|
os.environ.setdefault('ANSIBLE_CONFIG', ansible_config_path)
|
|
|
|