mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-03 18:43:50 +08:00
limit image builder to one buildhost in stg
Signed-off-by: Mark O Brien <markobri@redhat.com>
This commit is contained in:
@@ -155,8 +155,14 @@ keytab = /etc/kojid/kojid.keytab
|
||||
|
||||
{{ plugins.append("rpmautospec_builder") }}
|
||||
|
||||
|
||||
{% if env == 'staging' %}
|
||||
{% if inventory_hostname == 'buildvm-x86-05.stg.iad2.fedoraproject.org' %}
|
||||
{{ plugins.append("osbuild") }}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{{ plugins.append("osbuild") }}
|
||||
{% endif %}
|
||||
|
||||
|
||||
; Config for the runroot plugin lives in /etc/kojid/runroot.conf, if enabled
|
||||
plugins = {{ plugins | join(" ") }}
|
||||
|
||||
Reference in New Issue
Block a user