Sandy Walsh 618cdcdd63 Cell Support
Yagi-workers are now created per cell. One rabbit per cell.
Also renamed the common role to stv3-common to prevent conflicts
with other playbooks.

Take note of ansible/roles/stv3-workers/defaults/main.yaml to
see an example of the expected format of the calling facts file.
Each entry in this list-of-dictionaries represents a rabbit server
and Swift container for that cell.

Also, multiple pipeline_workers are created based on the value
of num_pipeline_workers (defaults to 2). This is so a machine
can better utilize multi-core architectures.

Change-Id: I09c4d364878493546d6e23e019f01f5f4f38c37c
2014-12-22 10:14:37 -08:00

39 lines
939 B
Django/Jinja

---
# Machine generated via ansible - do not edit!
###### This adds directories to the search path for other configfiles.
config_path:
{% for path in config_path %}
- {{ path }}
{% endfor %}
###### logging
logging_config: /etc/stv3/logging.conf
###### How often to log stats
statistics_period: {{ statistics_period }}
pipeline_worker_batch_size: {{ pipeline_worker_batch_size }}
pipeline_worker_delay: {{ pipeline_worker_delay }}
{% if stackdistiller_plugins is defined %}
distiller_trait_plugins:
{% for plugin in stackdistiller_plugins %}
- {{ plugin }}
{% endfor %}
{% endif %}
catch_all_notifications: {{ catch_all_notifications }}
database:
url: {{ database_url }}
distiller_config: /etc/stv3/event_definitions.yaml
trigger_definitions: /etc/stv3/triggers.yaml
pipeline_config: /etc/stv3/pipelines.yaml
pipeline_handlers:
{% for key, value in pipeline_handlers.iteritems() %}
{{ key }}: {{value}}
{% endfor %}