koji_builder / kojid: fix template to work on hosts with both runroot and containerbuild
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
88549a1152
commit
f3098580fb
1 changed files with 3 additions and 5 deletions
|
@ -144,13 +144,11 @@ keytab = /etc/kojid/kojid.keytab
|
|||
{% set plugins = [] %}
|
||||
|
||||
{% if 'runroot' in group_names %}
|
||||
{% set plugins = ['runroot'] %}
|
||||
{% else %}
|
||||
|
||||
{% if ansible_architecture == 'x86_64' and not inventory_hostname.startswith('bkernel') %}
|
||||
{% set plugins = ['builder_containerbuild'] %}
|
||||
{% plugins.append = ['runroot'] %}
|
||||
{% endif %}
|
||||
|
||||
{% if ansible_architecture == 'x86_64' and not inventory_hostname.startswith('bkernel') %}
|
||||
{% plugins.append = ['builder_containerbuild'] %}
|
||||
{% endif %}
|
||||
|
||||
{% if env == 'staging' %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue