mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
openqa/server: skip openqa.ini amqp section if vars not set
We don't want to include this section if the vars aren't set. Not every openQA server has to be an AMQP publisher. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
@@ -9,6 +9,7 @@ plugins = {{ openqa_webapi_plugins }}
|
||||
hide_asset_types = repo hdd
|
||||
parallel_cancel_whole_cluster = 0
|
||||
|
||||
{% if openqa_amqp_publisher_url is defined and openqa_amqp_publisher_url %}
|
||||
[amqp]
|
||||
topic_prefix = {{ openqa_amqp_publisher_prefix }}
|
||||
url = {{ openqa_amqp_publisher_url }}
|
||||
@@ -18,6 +19,7 @@ cacertfile = {{ openqa_amqp_publisher_cacertfile }}
|
||||
certfile = {{ openqa_amqp_publisher_certfile }}
|
||||
keyfile = {{ openqa_amqp_publisher_keyfile }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
[audit/storage_duration]
|
||||
startup = 7
|
||||
|
||||
Reference in New Issue
Block a user