mirror_pagure_ansible: one more adjustment for the different queues for the different caves

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-05-12 18:13:35 +02:00
parent 67fe4e2ab1
commit f2d025b97e

View file

@ -31,8 +31,10 @@ app = "mirror_from_pagure"
app_url = "https://pagure.io/fedora-infra/mirror_from_pagure"
app_contacts_email = ["pingou@fedoraproject.org"]
{% if inventory_hostname.startswith('batcave01.') %}
{% if inventory_hostname.startswith('batcave01.phx2') %}
[queues."mirror_pagure_ansible{{ env_suffix }}"]
{% elif inventory_hostname.startswith('batcave01.iad2') %}
[queues."mirror_pagure_ansible{{ env_suffix }}_iad2"]
{% elif inventory_hostname.startswith('batcave13.') %}
[queues."mirror_pagure_ansible{{ env_suffix }}_13"]
{% endif %}