diff --git a/roles/koji_builder/tasks/main.yml b/roles/koji_builder/tasks/main.yml index 90efdcacee..921daa8cc7 100644 --- a/roles/koji_builder/tasks/main.yml +++ b/roles/koji_builder/tasks/main.yml @@ -220,7 +220,7 @@ with_items: - python2-osbs-client.noarch - python3-osbs-client.noarch - when: "ansible_architecture == 'x86_64' and not ansible_inventory_hostname.startswith('bkernel')" + when: "ansible_architecture == 'x86_64' and not inventory_hostname.startswith('bkernel')" tags: - koji_builder diff --git a/roles/koji_builder/templates/kojid.conf b/roles/koji_builder/templates/kojid.conf index 859680fc1e..3c28a3372e 100644 --- a/roles/koji_builder/templates/kojid.conf +++ b/roles/koji_builder/templates/kojid.conf @@ -138,7 +138,7 @@ plugins = runroot {% else %} -{% if ansible_architecture == 'x86_64' and not ansible_inventory_hostname.startswith('bkernel') %} +{% if ansible_architecture == 'x86_64' and not inventory_hostname.startswith('bkernel') %} plugins = builder_containerbuild {% else %} plugins =