bodhi: Only backend01 should get the composer.start message.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
104e857951
commit
0509e5ffc5
1 changed files with 3 additions and 0 deletions
|
@ -42,7 +42,10 @@ queue = "bodhi{{ env_suffix }}"
|
|||
exchange = "amq.topic"
|
||||
routing_keys = [
|
||||
{% for key in bodhi_message_routing_keys %}
|
||||
{# Only bodhi-backend01 should get the composer start messages #}
|
||||
{% if 'bodhi.composer.start' not in key or inventory_hostname.startswith('bodhi-backend01') %}
|
||||
"{{ key }}",
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue